mirror of
https://github.com/ziglang/zig.git
synced 2024-11-14 16:13:24 +00:00
link.Elf tests: update for new static lib behavior
the new code in this branch correctly only stores basenames in the static archive; update the test to reflect that.
This commit is contained in:
parent
9fa0a44de9
commit
2857a3bcb6
@ -952,25 +952,25 @@ fn testEmitStaticLib(b: *Build, opts: Options) *Step {
|
||||
|
||||
const check = lib.checkObject();
|
||||
check.checkInArchiveSymtab();
|
||||
check.checkExactPath("in object", obj1.getEmittedBin());
|
||||
check.checkExact("in object obj1.o");
|
||||
check.checkExact("foo");
|
||||
check.checkInArchiveSymtab();
|
||||
check.checkExactPath("in object", obj1.getEmittedBin());
|
||||
check.checkExact("in object obj1.o");
|
||||
check.checkExact("bar");
|
||||
check.checkInArchiveSymtab();
|
||||
check.checkExactPath("in object", obj1.getEmittedBin());
|
||||
check.checkExact("in object obj1.o");
|
||||
check.checkExact("fooBar");
|
||||
check.checkInArchiveSymtab();
|
||||
check.checkExactPath("in object", obj2.getEmittedBin());
|
||||
check.checkExact("in object obj2.o");
|
||||
check.checkExact("tentative");
|
||||
check.checkInArchiveSymtab();
|
||||
check.checkExactPath("in object", obj3.getEmittedBin());
|
||||
check.checkExact("in object a_very_long_file_name_so_that_it_ends_up_in_strtab.o");
|
||||
check.checkExact("weakFoo");
|
||||
check.checkInArchiveSymtab();
|
||||
check.checkExactPath("in object", obj3.getEmittedBin());
|
||||
check.checkExact("in object a_very_long_file_name_so_that_it_ends_up_in_strtab.o");
|
||||
check.checkExact("strongBar");
|
||||
check.checkInArchiveSymtab();
|
||||
check.checkExactPath("in object", obj3.getEmittedBin());
|
||||
check.checkExact("in object a_very_long_file_name_so_that_it_ends_up_in_strtab.o");
|
||||
check.checkExact("strongBarAlias");
|
||||
test_step.dependOn(&check.step);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user