aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/failing/111 compiler argument checking
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/failing/111 compiler argument checking')
-rw-r--r--meson/test cases/failing/111 compiler argument checking/meson.build4
-rw-r--r--meson/test cases/failing/111 compiler argument checking/test.json7
2 files changed, 11 insertions, 0 deletions
diff --git a/meson/test cases/failing/111 compiler argument checking/meson.build b/meson/test cases/failing/111 compiler argument checking/meson.build
new file mode 100644
index 000000000..bb1f44768
--- /dev/null
+++ b/meson/test cases/failing/111 compiler argument checking/meson.build
@@ -0,0 +1,4 @@
+project('compiler argument checking test', 'c')
+
+cc = meson.get_compiler('c')
+add_project_arguments(cc.get_supported_arguments('-meson-goober-arg-for-testing', checked : 'require'), language : 'c')
diff --git a/meson/test cases/failing/111 compiler argument checking/test.json b/meson/test cases/failing/111 compiler argument checking/test.json
new file mode 100644
index 000000000..f41f2d2cf
--- /dev/null
+++ b/meson/test cases/failing/111 compiler argument checking/test.json
@@ -0,0 +1,7 @@
+{
+ "stdout": [
+ {
+ "line": "test cases/failing/111 compiler argument checking/meson.build:4:0: ERROR: Compiler for C does not support \"-meson-goober-arg-for-testing\""
+ }
+ ]
+}