qemu/tests/functional/qemu_test
Daniel P. Berrangé f84f8e71eb tests/functional: add helpers for building file paths
Add helper methods that construct paths for

 * log files - to be preserved at the end of a test
 * scratch files - to be purged at the end of a test
 * build files - anything relative to the build root
 * data files - anything relative to the functional test source root
 * socket files - a short temporary dir to avoid UNIX socket limits

These are to be used instead of direct access to the self.workdir,
or self.logdir variables, or any other place where paths are built
manually.

Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Message-ID: <20241217155953.3950506-11-berrange@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
2024-12-17 19:39:53 +01:00
..
__init__.py tests/functional: drop 'has_cmd' and 'has_cmds' helpers 2024-12-17 19:39:53 +01:00
asset.py tests/functional: resolve str(Asset) to cache file path 2024-12-17 19:39:53 +01:00
cmd.py tests/functional: drop 'has_cmd' and 'has_cmds' helpers 2024-12-17 19:39:53 +01:00
config.py tests/functional: Add base classes for the upcoming pytest-based tests 2024-09-04 10:52:29 +02:00
decorators.py tests/functional: introduce some helpful decorators 2024-12-17 19:39:53 +01: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: drop 'tesseract_available' helper 2024-12-17 19:39:53 +01:00
testcase.py tests/functional: add helpers for building file paths 2024-12-17 19:39:53 +01:00
tuxruntest.py tests/functional: drop 'has_cmd' and 'has_cmds' helpers 2024-12-17 19:39:53 +01:00
utils.py tests/functional: Convert BananaPi tests to the functional framework 2024-11-04 14:16:12 +01:00