On 7/15/25 11:08 PM, Manos Pitsidianakis wrote:
Add argument parsing to functional tests to improve developer experience
when running individual tests. All logs are printed to stdout
interspersed with TAP output.
./pyvenv/bin/python3 ../tests/functional/test_aarch64_virt.py --help
usage: test_aarch64_virt [-h] [-d]
QEMU Functional test
options:
-h, --help show this help message and exit
-d, --debug Also print test and console logs on stdout. This will
make the TAP output invalid and is meant for debugging
only.
Signed-off-by: Manos Pitsidianakis <manos.pitsidiana...@linaro.org>
---
docs/devel/testing/functional.rst | 2 ++
tests/functional/qemu_test/testcase.py | 51 ++++++++++++++++++++++++++++++++--
2 files changed, 50 insertions(+), 3 deletions(-)
Thanks, that's a great idea, and more convenient than the poor man's
tail -f I was using for that.
Tested-by: Pierrick Bouvier <pierrick.bouv...@linaro.org>
Reviewed-by: Pierrick Bouvier <pierrick.bouv...@linaro.org>