diff options
Diffstat (limited to 'test cases/failing/104 no fallback')
-rw-r--r-- | test cases/failing/104 no fallback/meson.build | 2 | ||||
-rw-r--r-- | test cases/failing/104 no fallback/subprojects/foob/meson.build | 2 | ||||
-rw-r--r-- | test cases/failing/104 no fallback/test.json | 8 |
3 files changed, 12 insertions, 0 deletions
diff --git a/test cases/failing/104 no fallback/meson.build b/test cases/failing/104 no fallback/meson.build new file mode 100644 index 0000000..91d6b93 --- /dev/null +++ b/test cases/failing/104 no fallback/meson.build @@ -0,0 +1,2 @@ +project('no fallback') +foob_dep = dependency('foob', allow_fallback: false, required: true) diff --git a/test cases/failing/104 no fallback/subprojects/foob/meson.build b/test cases/failing/104 no fallback/subprojects/foob/meson.build new file mode 100644 index 0000000..b2c4814 --- /dev/null +++ b/test cases/failing/104 no fallback/subprojects/foob/meson.build @@ -0,0 +1,2 @@ +project('foob', 'c') +meson.override_dependency('foob', declare_dependency()) diff --git a/test cases/failing/104 no fallback/test.json b/test cases/failing/104 no fallback/test.json new file mode 100644 index 0000000..e034061 --- /dev/null +++ b/test cases/failing/104 no fallback/test.json @@ -0,0 +1,8 @@ +{ + "stdout": [ + { + "match": "re", + "line": ".*/meson\\.build:2:0: ERROR: (Pkg-config binary for machine MachineChoice\\.HOST not found\\. Giving up\\.|Dependency \"foob\" not found, tried .*)" + } + ] +} |