link tests: add a way to check prefix and use it
This commit is contained in:
@@ -3916,7 +3916,7 @@ fn testUnknownFileTypeError(b: *Build, opts: Options) *Step {
|
||||
// "note: while parsing /?/liba.dylib",
|
||||
// } });
|
||||
expectLinkErrors(exe, test_step, .{
|
||||
.contains = "error: invalid token in LD script: '\\x00\\x00\\x00\\x0c\\x00\\x00\\x00/usr/lib/dyld\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x0d' (0:1069)",
|
||||
.starts_with = "error: invalid token in LD script: '\\x00\\x00\\x00\\x0c\\x00\\x00\\x00/usr/lib/dyld\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x0d' (",
|
||||
});
|
||||
|
||||
return test_step;
|
||||
|
||||
Reference in New Issue
Block a user