summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--support/testing/infra/basetest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/testing/infra/basetest.py b/support/testing/infra/basetest.py
index 2a5c9ec..1a082bb 100644
--- a/support/testing/infra/basetest.py
+++ b/support/testing/infra/basetest.py
@@ -39,7 +39,7 @@ class BRTest(unittest.TestCase):
def __init__(self, names):
super(BRTest, self).__init__(names)
self.testname = self.__class__.__name__
- self.builddir = os.path.join(self.__class__.outputdir, self.testname)
+ self.builddir = self.outputdir and os.path.join(self.outputdir, self.testname)
self.emulator = None
def show_msg(self, msg):