diff options
author | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2018-09-14 21:43:24 +0200 |
---|---|---|
committer | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2018-09-14 22:35:46 +0200 |
commit | 0fc9a6018975c641d677f2827bbc58481dcd8d6c (patch) | |
tree | 1522f96a64680f38d32426580adb600a829d4426 /run_project_tests.py | |
parent | 81e7a0981b7a815c8a85c731d7b2ca7676145130 (diff) | |
download | meson-0fc9a6018975c641d677f2827bbc58481dcd8d6c.zip meson-0fc9a6018975c641d677f2827bbc58481dcd8d6c.tar.gz meson-0fc9a6018975c641d677f2827bbc58481dcd8d6c.tar.bz2 |
run_proect_tests: add cygwin as platform fix name
Diffstat (limited to 'run_project_tests.py')
-rwxr-xr-x | run_project_tests.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/run_project_tests.py b/run_project_tests.py index 54b25a5..27e588b 100755 --- a/run_project_tests.py +++ b/run_project_tests.py @@ -155,7 +155,12 @@ def platform_fix_name(fname, compiler, env): if fname.startswith('?gcc:'): fname = fname[5:] - if compiler == 'cl' or fname.endswith('dll.a') and not mesonlib.for_cygwin(env.is_cross_build(), env): + if compiler == 'cl': + return None + + if fname.startswith('?cygwin:'): + fname = fname[8:] + if compiler == 'cl' or not mesonlib.for_cygwin(env.is_cross_build(), env): return None return fname |