diff options
Diffstat (limited to 'test cases')
| -rw-r--r-- | test cases/common/105 testframework options/meson.build | 3 | ||||
| -rw-r--r-- | test cases/failing/38 libdir must be inside prefix/meson.build | 4 |
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 277373044..827bae76a 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 66272ea3f..4cce7f81c 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 |
