authorgravatar for kubkon@jakubkonka.comJakub Konka <kubkon@jakubkonka.com> 2023-10-16 21:45:28+02:00
committergravatar for kubkon@jakubkonka.comJakub Konka <kubkon@jakubkonka.com> 2023-10-16 21:45:28+02:00
log77443ac2b54aa4f6ccf8046fe787d7409af526d2
tree8f320756b491e8c6334dae651af9304b271ee9d3
parentd2727b808cf0876a91b78b3d40a776fc60d2bd58

elf: skip tests on foreign architectures


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

test/link/elf.zig+4
......@@ -140,6 +140,7 @@ fn testAbsSymbols(b: *Build, opts: Options) *Step {
140140 exe.linkLibC();
141141
142142 const run = addRunArtifact(exe);
143 run.expectExitCode(0);
143144 test_step.dependOn(&run.step);
144145
145146 return test_step;
......@@ -764,6 +765,7 @@ fn testFuncAddress(b: *Build, opts: Options) *Step {
764765 exe.pie = false;
765766
766767 const run = addRunArtifact(exe);
768 run.expectExitCode(0);
767769 test_step.dependOn(&run.step);
768770
769771 return test_step;
......@@ -940,6 +942,7 @@ fn testIFuncDlopen(b: *Build, opts: Options) *Step {
940942 exe.pie = false;
941943
942944 const run = addRunArtifact(exe);
945 run.expectExitCode(0);
943946 test_step.dependOn(&run.step);
944947
945948 return test_step;
......@@ -1469,6 +1472,7 @@ fn testLargeBss(b: *Build, opts: Options) *Step {
14691472 exe.linkLibC();
14701473
14711474 const run = addRunArtifact(exe);
1475 run.expectExitCode(0);
14721476 test_step.dependOn(&run.step);
14731477
14741478 return test_step;