mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
test-link: correct expected object file name
The name of the ZCU object file emitted by the LLVM backend has been changed in this branch from e.g. `foo.o` to `foo_zcu.o`. This is to avoid name clashes. This commit just updates a link test which started failing because the object name in a linker error changed.
This commit is contained in:
parent
89a6c732e5
commit
a3abaaee0c
1 changed files with 2 additions and 2 deletions
|
|
@ -211,7 +211,7 @@ fn testDuplicateDefinitions(b: *Build, opts: Options) *Step {
|
|||
expectLinkErrors(exe, test_step, .{ .exact = &.{
|
||||
"error: duplicate symbol definition: _strong",
|
||||
"note: defined by /?/a.o",
|
||||
"note: defined by /?/main.o",
|
||||
"note: defined by /?/main_zcu.o",
|
||||
} });
|
||||
|
||||
return test_step;
|
||||
|
|
@ -2648,7 +2648,7 @@ fn testUnresolvedError(b: *Build, opts: Options) *Step {
|
|||
expectLinkErrors(exe, test_step, .{ .exact = &.{
|
||||
"error: undefined symbol: _foo",
|
||||
"note: referenced by /?/a.o:_bar",
|
||||
"note: referenced by /?/main.o:_main.main",
|
||||
"note: referenced by /?/main_zcu.o:_main.main",
|
||||
} });
|
||||
} else {
|
||||
expectLinkErrors(exe, test_step, .{ .exact = &.{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue