aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/failing/14 invalid option name
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/failing/14 invalid option name')
-rw-r--r--meson/test cases/failing/14 invalid option name/meson.build1
-rw-r--r--meson/test cases/failing/14 invalid option name/meson_options.txt1
-rw-r--r--meson/test cases/failing/14 invalid option name/test.json7
3 files changed, 9 insertions, 0 deletions
diff --git a/meson/test cases/failing/14 invalid option name/meson.build b/meson/test cases/failing/14 invalid option name/meson.build
new file mode 100644
index 000000000..b99fd21ad
--- /dev/null
+++ b/meson/test cases/failing/14 invalid option name/meson.build
@@ -0,0 +1 @@
+project('foo', 'c')
diff --git a/meson/test cases/failing/14 invalid option name/meson_options.txt b/meson/test cases/failing/14 invalid option name/meson_options.txt
new file mode 100644
index 000000000..aab6ae8de
--- /dev/null
+++ b/meson/test cases/failing/14 invalid option name/meson_options.txt
@@ -0,0 +1 @@
+option('invalid:name', type : 'boolean', value : false)
diff --git a/meson/test cases/failing/14 invalid option name/test.json b/meson/test cases/failing/14 invalid option name/test.json
new file mode 100644
index 000000000..71e685da4
--- /dev/null
+++ b/meson/test cases/failing/14 invalid option name/test.json
@@ -0,0 +1,7 @@
+{
+ "stdout": [
+ {
+ "line": "test cases/failing/14 invalid option name/meson_options.txt:1:0: ERROR: Option names can only contain letters, numbers or dashes."
+ }
+ ]
+}