xemu/tests/functional/qemu_test
Daniel P. Berrangé f5578e427f tests/functional: avoid accessing log_filename on earlier failures
If a failure occurs early in the QemuBaseTest constructor, the
'log_filename' object atttribute may not exist yet. This happens
most notably if the QEMU_TEST_QEMU_BINARY is not set. We can't
initialize 'log_filename' earlier as we use the binary to identify
the architecture which is then used to build the path in which the
logs are stored.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20241121154218.1423005-19-berrange@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20241121165806.476008-19-alex.bennee@linaro.org>
2024-11-25 10:13:42 +00:00
..
__init__.py tests/functional: Add the LinuxKernelTest for testing the Linux boot process 2024-09-11 09:49:11 +02:00
asset.py tests/functional: make cached asset files read-only 2024-11-04 14:16:11 +01:00
cmd.py tests/functional: rewrite console handling to be bytewise 2024-11-25 10:13:41 +00:00
config.py tests/functional: Add base classes for the upcoming pytest-based tests 2024-09-04 10:52:29 +02:00
linuxkernel.py tests/functional/qemu_test: Add a function for launching kernels more easily 2024-09-24 13:38:29 +02:00
tesseract.py tests/functional: Fix bad usage of has_cmd 2024-09-11 09:49:12 +02:00
testcase.py tests/functional: avoid accessing log_filename on earlier failures 2024-11-25 10:13:42 +00:00
tuxruntest.py tests/functional: remove time.sleep usage from tuxrun tests 2024-11-25 10:13:41 +00:00
utils.py tests/functional: Convert BananaPi tests to the functional framework 2024-11-04 14:16:12 +01:00