This test case checks stdout and demands a `dependency()` lookup fail. The resulting error message can be different depending on whether cmake is installed, or not. For cmake-specific tests we would simply skip the test if cmake is not installed, but here we can just fine-tune the pattern matching we use to determine if the test failed "correctly". Fixes #11320pull/11321/head
parent
8d39c9273b
commit
a38ad3039d
1 changed files with 2 additions and 1 deletions
@ -1,7 +1,8 @@ |
||||
{ |
||||
"stdout": [ |
||||
{ |
||||
"line": "test cases/failing/111 empty fallback/meson.build:6:0: ERROR: Dependency \"foo\" not found, tried pkgconfig and cmake" |
||||
"match": "re", |
||||
"line": "test cases/failing/111 empty fallback/meson.build:6:0: ERROR: Dependency \"foo\" not found.*" |
||||
} |
||||
] |
||||
} |
||||
|
Loading…
Reference in new issue