diff options
Diffstat (limited to 'meson/test cases/failing/5 misplaced option')
-rw-r--r-- | meson/test cases/failing/5 misplaced option/meson.build | 3 | ||||
-rw-r--r-- | meson/test cases/failing/5 misplaced option/test.json | 7 |
2 files changed, 10 insertions, 0 deletions
diff --git a/meson/test cases/failing/5 misplaced option/meson.build b/meson/test cases/failing/5 misplaced option/meson.build new file mode 100644 index 000000000..883de0f02 --- /dev/null +++ b/meson/test cases/failing/5 misplaced option/meson.build @@ -0,0 +1,3 @@ +project('misplaced option', 'c') + +option('dummy', type : 'string') diff --git a/meson/test cases/failing/5 misplaced option/test.json b/meson/test cases/failing/5 misplaced option/test.json new file mode 100644 index 000000000..12afdf025 --- /dev/null +++ b/meson/test cases/failing/5 misplaced option/test.json @@ -0,0 +1,7 @@ +{ + "stdout": [ + { + "line": "test cases/failing/5 misplaced option/meson.build:3:0: ERROR: Tried to call option() in build description file. All options must be in the option file." + } + ] +} |