From 7b6e527f440cd7e6f8be2b07cee320ee6ca18786 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 29 Apr 2024 06:41:38 +0200 Subject: Adding upstream version 1.0.1. Signed-off-by: Daniel Baumann --- test cases/failing/102 bool in combo/meson.build | 1 + test cases/failing/102 bool in combo/meson_options.txt | 5 +++++ test cases/failing/102 bool in combo/nativefile.ini | 2 ++ test cases/failing/102 bool in combo/test.json | 5 +++++ 4 files changed, 13 insertions(+) create mode 100644 test cases/failing/102 bool in combo/meson.build create mode 100644 test cases/failing/102 bool in combo/meson_options.txt create mode 100644 test cases/failing/102 bool in combo/nativefile.ini create mode 100644 test cases/failing/102 bool in combo/test.json (limited to 'test cases/failing/102 bool in combo') 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\"." } + ] +} -- cgit v1.2.3