aboutsummaryrefslogtreecommitdiff
path: root/meson_test.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2015-08-25 23:09:54 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2015-08-25 23:09:54 +0300
commit9d559b2b39d4ba084ad479bfb3100b62c13c7d61 (patch)
tree842b1df6ddcb19125925b7794fd7ca22996a5b5f /meson_test.py
parentc19570654cf8d7c00d8b8d96bb8d3f3cf0e68d1e (diff)
downloadmeson-9d559b2b39d4ba084ad479bfb3100b62c13c7d61.zip
meson-9d559b2b39d4ba084ad479bfb3100b62c13c7d61.tar.gz
meson-9d559b2b39d4ba084ad479bfb3100b62c13c7d61.tar.bz2
More robust windows detection and more logs.
Diffstat (limited to 'meson_test.py')
-rwxr-xr-xmeson_test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/meson_test.py b/meson_test.py
index 4273e9b..9353b18 100755
--- a/meson_test.py
+++ b/meson_test.py
@@ -17,7 +17,7 @@
import sys, os, subprocess, time, datetime, pickle, multiprocessing, json
import concurrent.futures as conc
import argparse
-import platform
+import mesonlib
tests_failed = False
@@ -62,7 +62,7 @@ def write_json_log(jsonlogfile, test_name, result):
jsonlogfile.write(json.dumps(result) + '\n')
def run_with_mono(fname):
- if fname.endswith('.exe') and not platform.system().lower() == 'windows':
+ if fname.endswith('.exe') and not mesonlib.is_windows():
return True
return False