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 <[email protected]>
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


Reply via email to