diff options
Diffstat (limited to 'meson_test.py')
-rwxr-xr-x | meson_test.py | 4 |
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 |