diff options
| author | Daniel P. Berrangé <berrange@redhat.com> | 2024-12-17 15:59:33 +0000 |
|---|---|---|
| committer | Thomas Huth <thuth@redhat.com> | 2024-12-17 19:39:53 +0100 |
| commit | 8b5a0dd3a8a4526bb91430b7f548c95d46093dc1 (patch) | |
| tree | 1d713a09b62c988ced5b443276a495ec20bdde21 /tests/functional/qemu_test/testcase.py | |
| parent | bcc12768c242a4862a1725e22371dd87af1c2b7e (diff) | |
| download | focaccia-qemu-8b5a0dd3a8a4526bb91430b7f548c95d46093dc1.tar.gz focaccia-qemu-8b5a0dd3a8a4526bb91430b7f548c95d46093dc1.zip | |
tests/functional: switch over to using self.build_file(...)
This removes direct access of the 'BUILD_DIR' variable. Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> Message-ID: <20241217155953.3950506-13-berrange@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'tests/functional/qemu_test/testcase.py')
| -rw-r--r-- | tests/functional/qemu_test/testcase.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/functional/qemu_test/testcase.py b/tests/functional/qemu_test/testcase.py index 2174fbb155..493938240c 100644 --- a/tests/functional/qemu_test/testcase.py +++ b/tests/functional/qemu_test/testcase.py @@ -133,8 +133,8 @@ class QemuBaseTest(unittest.TestCase): self.arch = self.qemu_bin.split('-')[-1] self.socketdir = None - self.outputdir = os.path.join(BUILD_DIR, 'tests', 'functional', - self.arch, self.id()) + self.outputdir = self.build_file('tests', 'functional', + self.arch, self.id()) self.workdir = os.path.join(self.outputdir, 'scratch') os.makedirs(self.workdir, exist_ok=True) |