aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrun_unittests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/run_unittests.py b/run_unittests.py
index 29ab1b7..881aec5 100755
--- a/run_unittests.py
+++ b/run_unittests.py
@@ -1196,7 +1196,7 @@ class BasePlatformTests(unittest.TestCase):
def new_builddir(self):
# In case the directory is inside a symlinked directory, find the real
# path otherwise we might not find the srcdir from inside the builddir.
- newdir = os.path.realpath(tempfile.mkdtemp())
+ newdir = os.path.realpath(tempfile.mkdtemp(dir=os.getcwd()))
self.change_builddir(newdir)
def _print_meson_log(self):