diff options
Diffstat (limited to 'meson/test cases/failing/105 no fallback')
3 files changed, 12 insertions, 0 deletions
diff --git a/meson/test cases/failing/105 no fallback/meson.build b/meson/test cases/failing/105 no fallback/meson.build new file mode 100644 index 000000000..0101bb84e --- /dev/null +++ b/meson/test cases/failing/105 no fallback/meson.build @@ -0,0 +1,2 @@ +project('no fallback', 'c') +foob_dep = dependency('foob', allow_fallback: false, required: true) diff --git a/meson/test cases/failing/105 no fallback/subprojects/foob/meson.build b/meson/test cases/failing/105 no fallback/subprojects/foob/meson.build new file mode 100644 index 000000000..b2c4814e2 --- /dev/null +++ b/meson/test cases/failing/105 no fallback/subprojects/foob/meson.build @@ -0,0 +1,2 @@ +project('foob', 'c') +meson.override_dependency('foob', declare_dependency()) diff --git a/meson/test cases/failing/105 no fallback/test.json b/meson/test cases/failing/105 no fallback/test.json new file mode 100644 index 000000000..e0340616c --- /dev/null +++ b/meson/test cases/failing/105 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 .*)" + } + ] +} |