Skip to content

Commit 3717010

Browse files
committed
tests: Update error checks when running w/o pkg-config
The error message that gets emmited changed with 183e4b8, but the tests did not get adjusted.
1 parent 7d108e5 commit 3717010

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

test cases/failing/101 no fallback/test.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"stdout": [
33
{
44
"match": "re",
5-
"line": ".*/meson\\.build:2:11: ERROR: (Pkg-config binary for machine MachineChoice\\.HOST not found\\. Giving up\\.|Dependency \"foob\" not found, tried .*)"
5+
"line": ".*/meson\\.build:2:11: ERROR: (Dependency lookup for foob with method 'pkgconfig' failed: Pkg-config for machine host machine not found\\. Giving up\\.|Dependency \"foob\" not found, tried .*)"
66
}
77
]
88
}

test cases/failing/108 empty fallback/test.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"stdout": [
33
{
44
"match": "re",
5-
"line": "test cases/failing/108 empty fallback/meson.build:6:0: ERROR: Dependency \"foo\" not found.*"
5+
"line": "test cases/failing/108 empty fallback/meson.build:6:0: ERROR: (Dependency lookup for foo with method 'pkgconfig' failed: Pkg-config for machine host machine not found\\. Giving up\\.|Dependency \"foo\" not found.*)"
66
}
77
]
88
}

test cases/failing/34 dependency not-required then required/test.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"stdout": [
33
{
44
"match": "re",
5-
"line": ".*/meson\\.build:4:10: ERROR: (Pkg-config binary for machine MachineChoice\\.HOST not found\\. Giving up\\.|Dependency \"foo\\-bar\\-xyz\\-12\\.3\" not found, tried .*)"
5+
"line": ".*/meson\\.build:4:10: ERROR: (Dependency lookup for foo\\-bar\\-xyz\\-12\\.3 with method 'pkgconfig' failed: Pkg-config for machine host machine not found\\. Giving up\\.|Dependency \"foo\\-bar\\-xyz\\-12\\.3\" not found, tried .*)"
66
}
77
]
88
}

0 commit comments

Comments
 (0)