aboutsummaryrefslogtreecommitdiff
path: root/run_project_tests.py
diff options
context:
space:
mode:
authorMichael Hirsch, Ph.D <10931741+scivision@users.noreply.github.com>2020-01-30 16:07:44 -0500
committerGitHub <noreply@github.com>2020-01-30 23:07:44 +0200
commit00f5dadd5b7d71c30bd7393d165a87f554eb92e5 (patch)
tree6a8f65c47b75ce0152b450dce40214190781135f /run_project_tests.py
parent1682058decb5f16ce1b78121ee587c024e9cfa17 (diff)
downloadmeson-00f5dadd5b7d71c30bd7393d165a87f554eb92e5.zip
meson-00f5dadd5b7d71c30bd7393d165a87f554eb92e5.tar.gz
meson-00f5dadd5b7d71c30bd7393d165a87f554eb92e5.tar.bz2
Bugfix: sanitize_dir: use pathlib to handle case-insensitive filesystems (#6398)
Diffstat (limited to 'run_project_tests.py')
-rwxr-xr-xrun_project_tests.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/run_project_tests.py b/run_project_tests.py
index acad225..e4dd8f7 100755
--- a/run_project_tests.py
+++ b/run_project_tests.py
@@ -381,7 +381,7 @@ def _run_test(testdir, test_build_dir, install_dir, extra_args, compiler, backen
setup_env = None
# Configure in-process
if pass_prefix_to_test(testdir):
- gen_args = ['--prefix', '/usr']
+ gen_args = ['--prefix', 'x:/usr'] if mesonlib.is_windows() else ['--prefix', '/usr']
else:
gen_args = []
if pass_libdir_to_test(testdir):
@@ -547,6 +547,10 @@ def skippable(suite, test):
if not suite.endswith('frameworks'):
return True
+ # this test assumptions aren't valid for Windows paths
+ if test.endswith('38 libdir must be inside prefix'):
+ return True
+
# gtk-doc test may be skipped, pending upstream fixes for spaces in
# filenames landing in the distro used for CI
if test.endswith('10 gtk-doc'):