authorgravatar for kubkon@jakubkonka.comJakub Konka <kubkon@jakubkonka.com> 2023-10-07 21:03:18+02:00
committergravatar for kubkon@jakubkonka.comJakub Konka <kubkon@jakubkonka.com> 2023-10-16 19:33:05+02:00
logb6006df565182648ee78bc847053b8cd5278b681
tree2a25a67501ebfea78f2483ec9379d7b20e02487b
parent1772dbb503429fcee453a3ee6db1eed4dfe7c5c9

elf: refactor canonical PLT test


1 files changed, 2 insertions(+), 0 deletions(-)

test/link/elf.zig+2
......@@ -205,6 +205,7 @@ fn testCanonicalPlt(b: *Build, opts: Options) *Step {
205205 \\ assert(foo == foo());
206206 \\ assert(bar == bar());
207207 \\ assert(bar == baz());
208 \\ return 0;
208209 \\}
209210 , &.{"-fno-PIC"});
210211 main_o.linkLibC();
......@@ -217,6 +218,7 @@ fn testCanonicalPlt(b: *Build, opts: Options) *Step {
217218 exe.pie = false;
218219
219220 const run = addRunArtifact(exe);
221 run.expectExitCode(0);
220222 test_step.dependOn(&run.step);
221223
222224 return test_step;