On Wed, 30 Apr 2025 at 17:41, Daniel P. Berrangé <berra...@redhat.com> wrote: > FWIW, if you want to run a specific test, personally don't use meson > or make, as you can just invoke the file directly: > > $ QEMU_TEST_QEMU_BINARY=./build/qemu-system-x86_64 \ > PYTHONPATH=./python \ > ./tests/functional/test_x86_cpu_model_versions.py
The rune in docs/devel says you also need to: * put tests/functional on the PYTHONPATH too * run from the build tree, not the source tree * run using the python binary in pyvenv/ So you can do this, but it's pretty clunky; I have to look up the runes every time. It would be nice if there was a wrapper to do this for you. (Also it doesn't work if the thing you're trying to test is "does this test pass within the meson test timeout" :-)) IIRC there is also a rune for "run a single test within make/meson", but I forget what it is and docs/devel/testing/functional.rst doesn't mention it. thanks -- PMM