From 9d559b2b39d4ba084ad479bfb3100b62c13c7d61 Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Tue, 25 Aug 2015 23:09:54 +0300 Subject: More robust windows detection and more logs. --- meson_test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'meson_test.py') 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 -- cgit v1.1