aboutsummaryrefslogtreecommitdiff
path: root/test cases/failing/102 bool in combo
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2022-03-28 19:33:52 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2022-03-29 02:12:02 +0300
commit1c3191be55f0445d66ffc6cc7b94ba9837f00784 (patch)
tree9e0ac18411b3cefd9b02459d725b438044efaae8 /test cases/failing/102 bool in combo
parent479a84455f6b838e862b7b68b6edd8968dd8fe1c (diff)
downloadmeson-1c3191be55f0445d66ffc6cc7b94ba9837f00784.zip
meson-1c3191be55f0445d66ffc6cc7b94ba9837f00784.tar.gz
meson-1c3191be55f0445d66ffc6cc7b94ba9837f00784.tar.bz2
Condense test directory names.
Diffstat (limited to 'test cases/failing/102 bool in combo')
-rw-r--r--test cases/failing/102 bool in combo/meson.build1
-rw-r--r--test cases/failing/102 bool in combo/meson_options.txt5
-rw-r--r--test cases/failing/102 bool in combo/nativefile.ini2
-rw-r--r--test cases/failing/102 bool in combo/test.json5
4 files changed, 13 insertions, 0 deletions
diff --git a/test cases/failing/102 bool in combo/meson.build b/test cases/failing/102 bool in combo/meson.build
new file mode 100644
index 0000000..c5efd67
--- /dev/null
+++ b/test cases/failing/102 bool in combo/meson.build
@@ -0,0 +1 @@
+project('bool in combo')
diff --git a/test cases/failing/102 bool in combo/meson_options.txt b/test cases/failing/102 bool in combo/meson_options.txt
new file mode 100644
index 0000000..0c8f5de
--- /dev/null
+++ b/test cases/failing/102 bool in combo/meson_options.txt
@@ -0,0 +1,5 @@
+option(
+ 'opt',
+ type : 'combo',
+ choices : ['true', 'false']
+)
diff --git a/test cases/failing/102 bool in combo/nativefile.ini b/test cases/failing/102 bool in combo/nativefile.ini
new file mode 100644
index 0000000..b423957
--- /dev/null
+++ b/test cases/failing/102 bool in combo/nativefile.ini
@@ -0,0 +1,2 @@
+[project options]
+opt = true
diff --git a/test cases/failing/102 bool in combo/test.json b/test cases/failing/102 bool in combo/test.json
new file mode 100644
index 0000000..c0041af
--- /dev/null
+++ b/test cases/failing/102 bool in combo/test.json
@@ -0,0 +1,5 @@
+{
+ "stdout": [
+ { "line": "test cases/failing/102 bool in combo/meson.build:1:0: ERROR: Value \"True\" (of type \"boolean\") for combo option \"opt\" is not one of the choices. Possible choices are (as string): \"true\", \"false\"." }
+ ]
+}