From 59e5ad66f2017e17692d64e2aa7d745ea3fe849d Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Sun, 23 Jun 2019 14:49:19 -0700 Subject: Keep all build dirs inside the source tree. VS and virus scanners complain when generating executables in temporary directories. --- run_unittests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_unittests.py b/run_unittests.py index 29ab1b709..881aec523 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): -- cgit v1.2.3