diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2019-06-23 14:49:19 -0700 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2019-06-24 01:52:54 +0300 |
commit | 59e5ad66f2017e17692d64e2aa7d745ea3fe849d (patch) | |
tree | af4676d53552fe17907da39112174996b344d820 /run_unittests.py | |
parent | 3f531be2e77656976f54c16ecaa9419dad6ac9ff (diff) | |
download | meson-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-x | run_unittests.py | 2 |
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): |