The test suite purges the scratch dir in the tearDown method, but if python crashes (or is non-gracefully killed) this won't get run. Also the user can set QEMU_TEST_KEEP_SCRATCH to disable cleanup. Purging the scratch dir on startup ensures that tests always run from a clean state. Reported-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Message-ID: <20250908135722.3375580-5-berrange@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| archive.py | ||
| asset.py | ||
| cmd.py | ||
| config.py | ||
| decorators.py | ||
| linuxkernel.py | ||
| ports.py | ||
| tesseract.py | ||
| testcase.py | ||
| tuxruntest.py | ||
| uncompress.py | ||
| utils.py | ||