aboutsummaryrefslogtreecommitdiff
path: root/run_tests.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2015-05-17 15:23:33 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2015-05-17 15:23:33 +0300
commitcf0bd77ddd2cd952f17e3485ea1d9e6fc159adb1 (patch)
treefe71b0ec3339397e9befba3d808774671d757fc2 /run_tests.py
parentd83de3ee56beb0df45086275b35d55f423071581 (diff)
downloadmeson-cf0bd77ddd2cd952f17e3485ea1d9e6fc159adb1.zip
meson-cf0bd77ddd2cd952f17e3485ea1d9e6fc159adb1.tar.gz
meson-cf0bd77ddd2cd952f17e3485ea1d9e6fc159adb1.tar.bz2
Do not invoke linker via cmd /c on Windows.
Diffstat (limited to 'run_tests.py')
-rwxr-xr-xrun_tests.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/run_tests.py b/run_tests.py
index d830fe1..3d85894 100755
--- a/run_tests.py
+++ b/run_tests.py
@@ -20,6 +20,7 @@ from io import StringIO
import sys
import environment
import mesonlib
+import mlog
import meson, meson_test
import argparse
import xml.etree.ElementTree as ET
@@ -173,6 +174,7 @@ def run_test_inprocess(testdir):
def run_test(testdir, should_succeed):
global compile_commands
+ mlog.shutdown() # Close the log file because otherwise Windows wets itself.
shutil.rmtree(test_build_dir)
shutil.rmtree(install_dir)
os.mkdir(test_build_dir)