aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/unit/84 change option choices
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/unit/84 change option choices')
-rw-r--r--meson/test cases/unit/84 change option choices/meson.build1
-rw-r--r--meson/test cases/unit/84 change option choices/meson_options.1.txt13
-rw-r--r--meson/test cases/unit/84 change option choices/meson_options.2.txt13
3 files changed, 27 insertions, 0 deletions
diff --git a/meson/test cases/unit/84 change option choices/meson.build b/meson/test cases/unit/84 change option choices/meson.build
new file mode 100644
index 000000000..d056d6594
--- /dev/null
+++ b/meson/test cases/unit/84 change option choices/meson.build
@@ -0,0 +1 @@
+project('change option choices')
diff --git a/meson/test cases/unit/84 change option choices/meson_options.1.txt b/meson/test cases/unit/84 change option choices/meson_options.1.txt
new file mode 100644
index 000000000..d0326a55b
--- /dev/null
+++ b/meson/test cases/unit/84 change option choices/meson_options.1.txt
@@ -0,0 +1,13 @@
+option(
+ 'combo',
+ type : 'combo',
+ choices : ['a', 'b', 'c'],
+ value : 'a',
+)
+
+option(
+ 'array',
+ type : 'array',
+ choices : ['a', 'b', 'c'],
+ value : ['a'],
+)
diff --git a/meson/test cases/unit/84 change option choices/meson_options.2.txt b/meson/test cases/unit/84 change option choices/meson_options.2.txt
new file mode 100644
index 000000000..4684673e1
--- /dev/null
+++ b/meson/test cases/unit/84 change option choices/meson_options.2.txt
@@ -0,0 +1,13 @@
+option(
+ 'combo',
+ type : 'combo',
+ choices : ['b', 'c', 'd'],
+ value : 'b',
+)
+
+option(
+ 'array',
+ type : 'array',
+ choices : ['b', 'c', 'd'],
+ value : ['b'],
+)