mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
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>
This commit is contained in:
parent
bcc12768c2
commit
8b5a0dd3a8
4 changed files with 9 additions and 16 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue