]> git.ipfire.org Git - thirdparty/qemu.git/commit
tests/functional: Provide the user with hints where to find more log files
authorThomas Huth <thuth@redhat.com>
Tue, 5 Nov 2024 12:38:49 +0000 (13:38 +0100)
committerThomas Huth <thuth@redhat.com>
Fri, 8 Nov 2024 05:16:38 +0000 (06:16 +0100)
commitbb986e406800c5bb4d746d2e636ea8fecf32cce8
treea8407da88073f6c4699cd6cdac09f78745eb999e
parentdd6402b34fa71e7c576909afac6602eb32b5ed37
tests/functional: Provide the user with hints where to find more log files

Since the base.log and console.log files are not referenced from the
meson test logs yet, they might be hard to find for the casual users.
Thus let's print some hints in case a test case failed. For this we
have to run unittest.main() with exit=False to get the results of the
testing. Then we can iterate through the failed test cases to print
out the information accordingly.

Message-ID: <20241105123849.359391-1-thuth@redhat.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Tested-by: Cédric Le Goater <clg@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/functional/qemu_test/testcase.py