qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* Meson help
@ 2025-11-07 20:18 John Snow
  2025-11-11 13:07 ` Daniel P. Berrangé
  0 siblings, 1 reply; 2+ messages in thread
From: John Snow @ 2025-11-07 20:18 UTC (permalink / raw)
  To: Paolo Bonzini; +Cc: qemu-devel, Thomas Huth, Markus Armbruster

Hiya;

I tried adding a test dep in meson to execute an ensuregroup command
for check-functional tests; i.e.

commit ddb9ae03e1a29a036aa708016fcb747d77b1fc6d
Author: John Snow <jsnow@redhat.com>
Date:   Fri Nov 7 14:41:04 2025 -0500

    test: add pyvenv test deps to func tests...?

diff --git a/tests/functional/meson.build b/tests/functional/meson.build
index 725630d3082..dd9a1be18e7 100644
--- a/tests/functional/meson.build
+++ b/tests/functional/meson.build
@@ -66,7 +66,7 @@ foreach speed : ['quick', 'thorough']
       target_tests = get_variable('tests_' + target_base + '_' +
sysmode + '_' + speed, [])
     endif

-    test_deps = [roms, keymap_targets]
+    test_deps = [roms, keymap_targets, pyvenv_test_deps]
     test_env = environment()
     if have_tools
       test_env.set('QEMU_TEST_QEMU_IMG', meson.global_build_root() /
'qemu-img')

And then I tried removing the "check-venv" targets from
tests/Makefile.include; but now it appears as though running "make
check-functional" doesn't work; it doesn't invoke the ensuregroup
hook.

What am I missing? Do I need to change the way "make check-functional"
invokes the test suite....?

https://gitlab.com/jsnow/qemu/-/commits/python_drop_qmp



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-11-11 13:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-07 20:18 Meson help John Snow
2025-11-11 13:07 ` Daniel P. Berrangé

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).