aboutsummaryrefslogtreecommitdiff
path: root/run_unittests.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2019-06-23 14:49:19 -0700
committerJussi Pakkanen <jpakkane@gmail.com>2019-06-24 01:52:54 +0300
commit59e5ad66f2017e17692d64e2aa7d745ea3fe849d (patch)
treeaf4676d53552fe17907da39112174996b344d820 /run_unittests.py
parent3f531be2e77656976f54c16ecaa9419dad6ac9ff (diff)
downloadmeson-59e5ad66f2017e17692d64e2aa7d745ea3fe849d.zip
meson-59e5ad66f2017e17692d64e2aa7d745ea3fe849d.tar.gz
meson-59e5ad66f2017e17692d64e2aa7d745ea3fe849d.tar.bz2
Keep all build dirs inside the source tree.
VS and virus scanners complain when generating executables in temporary directories.
Diffstat (limited to 'run_unittests.py')
-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):