aboutsummaryrefslogtreecommitdiff
path: root/run_project_tests.py
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2017-10-27 16:35:21 +0100
committerJon Turney <jon.turney@dronecode.org.uk>2018-01-06 14:23:53 +0000
commitb616abafd81e787a02b5110af63e2a53ab27b5c4 (patch)
tree00168068b1e5f888ae0e30f635dd30a3931053a2 /run_project_tests.py
parent86feb843f4c196b366ec317c5212d404df34191e (diff)
downloadmeson-b616abafd81e787a02b5110af63e2a53ab27b5c4.zip
meson-b616abafd81e787a02b5110af63e2a53ab27b5c4.tar.gz
meson-b616abafd81e787a02b5110af63e2a53ab27b5c4.tar.bz2
Fix installed files check for gobject-introspection tests on Cygwin
g-ir-scanner --no-libtool needed some fixes similar to [1] for Cygwin, as well. Now that is done, it's possible to make these tests run and pass on Cygwin. [1] https://bugzilla.gnome.org/show_bug.cgi?id=781525
Diffstat (limited to 'run_project_tests.py')
-rwxr-xr-xrun_project_tests.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/run_project_tests.py b/run_project_tests.py
index 0bf5f31..d442dd3 100755
--- a/run_project_tests.py
+++ b/run_project_tests.py
@@ -185,6 +185,7 @@ def get_relative_files_list_from_dir(fromdir):
def platform_fix_name(fname, compiler):
if '?lib' in fname:
if mesonlib.is_cygwin():
+ fname = re.sub(r'lib/\?lib(.*)\.so$', r'bin/cyg\1.dll', fname)
fname = re.sub(r'\?lib(.*)\.dll$', r'cyg\1.dll', fname)
else:
fname = re.sub(r'\?lib', 'lib', fname)