aboutsummaryrefslogtreecommitdiff
path: root/run_project_tests.py
diff options
context:
space:
mode:
authorDaniel Mensinger <daniel@mensinger-ka.de>2019-04-19 10:14:50 +0200
committerDaniel Mensinger <daniel@mensinger-ka.de>2019-06-06 18:27:03 +0200
commitcb57847c30ce49d03e2b98f8466b11acf3cf21fd (patch)
treea912745eb93a62eb80d3048d12dc341a677bc3c7 /run_project_tests.py
parent7c4f46b65c6d9d8bf71c0eca3c75e5f8b5f73617 (diff)
downloadmeson-cb57847c30ce49d03e2b98f8466b11acf3cf21fd.zip
meson-cb57847c30ce49d03e2b98f8466b11acf3cf21fd.tar.gz
meson-cb57847c30ce49d03e2b98f8466b11acf3cf21fd.tar.bz2
cmake: fixed installed_files.txt
Diffstat (limited to 'run_project_tests.py')
-rwxr-xr-xrun_project_tests.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/run_project_tests.py b/run_project_tests.py
index c3187ff..f4b4a96 100755
--- a/run_project_tests.py
+++ b/run_project_tests.py
@@ -161,6 +161,11 @@ def platform_fix_name(fname, compiler, env):
if not mesonlib.for_cygwin(env.is_cross_build(), env):
return None
+ if fname.startswith('?!cygwin:'):
+ fname = fname[9:]
+ if mesonlib.for_cygwin(env.is_cross_build(), env):
+ return None
+
if fname.endswith('?so'):
if mesonlib.for_windows(env.is_cross_build(), env) and canonical_compiler == 'msvc':
fname = re.sub(r'lib/([^/]*)\?so$', r'bin/\1.dll', fname)