aboutsummaryrefslogtreecommitdiff
path: root/test cases
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 /test cases
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 'test cases')
-rw-r--r--test cases/common/105 testframework options/meson.build3
-rw-r--r--test cases/failing/38 libdir must be inside prefix/meson.build4
2 files changed, 7 insertions, 0 deletions
diff --git a/test cases/common/105 testframework options/meson.build b/test cases/common/105 testframework options/meson.build
index 2773730..827bae7 100644
--- a/test cases/common/105 testframework options/meson.build
+++ b/test cases/common/105 testframework options/meson.build
@@ -1,3 +1,6 @@
+# normally run only from run_tests.py or run_project_tests.py
+# else do like
+# meson build '-Dtestoption=A string with spaces' -Dother_one=true -Dcombo_opt=one -Dprefix=/usr -Dlibdir=lib -Dbackend=ninja -Dwerror=True
project('options', 'c')
assert(get_option('testoption') == 'A string with spaces', 'Incorrect value for testoption option.')
diff --git a/test cases/failing/38 libdir must be inside prefix/meson.build b/test cases/failing/38 libdir must be inside prefix/meson.build
index 66272ea..4cce7f8 100644
--- a/test cases/failing/38 libdir must be inside prefix/meson.build
+++ b/test cases/failing/38 libdir must be inside prefix/meson.build
@@ -1,2 +1,6 @@
project('libdir prefix', 'c',
default_options : ['libdir=/opt/lib'])
+
+if host_machine.system() == 'windows'
+ error('MESON_SKIP_TEST: this test does not work on Windows since /foo is not absolute')
+endif \ No newline at end of file