aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/failing/67 wrong boost module
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/failing/67 wrong boost module')
-rw-r--r--meson/test cases/failing/67 wrong boost module/meson.build9
-rw-r--r--meson/test cases/failing/67 wrong boost module/test.json7
2 files changed, 16 insertions, 0 deletions
diff --git a/meson/test cases/failing/67 wrong boost module/meson.build b/meson/test cases/failing/67 wrong boost module/meson.build
new file mode 100644
index 000000000..937e58749
--- /dev/null
+++ b/meson/test cases/failing/67 wrong boost module/meson.build
@@ -0,0 +1,9 @@
+project('boosttest', 'cpp',
+ default_options : ['cpp_std=c++11'])
+
+if not dependency('boost', required: false).found()
+ error('MESON_SKIP_TEST test requires boost')
+endif
+
+# abc doesn't exist
+linkdep = dependency('boost', modules : ['thread', 'system', 'test', 'abc'])
diff --git a/meson/test cases/failing/67 wrong boost module/test.json b/meson/test cases/failing/67 wrong boost module/test.json
new file mode 100644
index 000000000..5f9b21fc8
--- /dev/null
+++ b/meson/test cases/failing/67 wrong boost module/test.json
@@ -0,0 +1,7 @@
+{
+ "stdout": [
+ {
+ "line": "test cases/failing/67 wrong boost module/meson.build:9:0: ERROR: Dependency \"boost\" not found, tried system"
+ }
+ ]
+}