diff options
| author | Daniel P. Berrangé <berrange@redhat.com> | 2024-11-21 16:57:45 +0000 |
|---|---|---|
| committer | Alex Bennée <alex.bennee@linaro.org> | 2024-11-25 10:13:42 +0000 |
| commit | f5578e427f95cb34436a18c0cd4417d4280e61bc (patch) | |
| tree | 817413c4677e84261be05a2d474a810a4b55c51b /include/qemu/qemu-plugin.h | |
| parent | 1a8755a51eef11360af92adf71fed6a20a1260b2 (diff) | |
| download | focaccia-qemu-f5578e427f95cb34436a18c0cd4417d4280e61bc.tar.gz focaccia-qemu-f5578e427f95cb34436a18c0cd4417d4280e61bc.zip | |
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>
Diffstat (limited to 'include/qemu/qemu-plugin.h')
0 files changed, 0 insertions, 0 deletions