Skip to content

Commit 59e5ad6

Browse files
committed
Keep all build dirs inside the source tree.
VS and virus scanners complain when generating executables in temporary directories.
1 parent 3f531be commit 59e5ad6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

run_unittests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1196,7 +1196,7 @@ def change_builddir(self, newdir):
11961196
def new_builddir(self):
11971197
# In case the directory is inside a symlinked directory, find the real
11981198
# path otherwise we might not find the srcdir from inside the builddir.
1199-
newdir = os.path.realpath(tempfile.mkdtemp())
1199+
newdir = os.path.realpath(tempfile.mkdtemp(dir=os.getcwd()))
12001200
self.change_builddir(newdir)
12011201

12021202
def _print_meson_log(self):

0 commit comments

Comments
 (0)