aboutsummaryrefslogtreecommitdiff
path: root/test cases/unit/85 change option choices
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2020-11-02 19:23:18 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2020-11-03 21:05:20 +0200
commit9d1e747d17c75a288d0b58a8ac973dab1712afbf (patch)
tree15dedfab78da4ad20ce272e65d7a7876ae717181 /test cases/unit/85 change option choices
parentff50f724bbf49739abbee9cbb4c8e6200849738f (diff)
downloadmeson-9d1e747d17c75a288d0b58a8ac973dab1712afbf.zip
meson-9d1e747d17c75a288d0b58a8ac973dab1712afbf.tar.gz
meson-9d1e747d17c75a288d0b58a8ac973dab1712afbf.tar.bz2
Condense test directory names again.
Diffstat (limited to 'test cases/unit/85 change option choices')
-rw-r--r--test cases/unit/85 change option choices/meson.build1
-rw-r--r--test cases/unit/85 change option choices/meson_options.1.txt13
-rw-r--r--test cases/unit/85 change option choices/meson_options.2.txt13
3 files changed, 27 insertions, 0 deletions
diff --git a/test cases/unit/85 change option choices/meson.build b/test cases/unit/85 change option choices/meson.build
new file mode 100644
index 0000000..d056d65
--- /dev/null
+++ b/test cases/unit/85 change option choices/meson.build
@@ -0,0 +1 @@
+project('change option choices')
diff --git a/test cases/unit/85 change option choices/meson_options.1.txt b/test cases/unit/85 change option choices/meson_options.1.txt
new file mode 100644
index 0000000..d0326a5
--- /dev/null
+++ b/test cases/unit/85 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/test cases/unit/85 change option choices/meson_options.2.txt b/test cases/unit/85 change option choices/meson_options.2.txt
new file mode 100644
index 0000000..4684673
--- /dev/null
+++ b/test cases/unit/85 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'],
+)