zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 77443ac2b54aa4f6ccf8046fe787d7409af526d2 (tree)
parent d2727b808cf0876a91b78b3d40a776fc60d2bd58
Author: Jakub Konka <kubkon@jakubkonka.com>
Date:   Mon, 16 Oct 2023 21:45:28 +0200

elf: skip tests on foreign architectures

Diffstat:
Mtest/link/elf.zig | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/test/link/elf.zig b/test/link/elf.zig @@ -140,6 +140,7 @@ fn testAbsSymbols(b: *Build, opts: Options) *Step { exe.linkLibC(); const run = addRunArtifact(exe); + run.expectExitCode(0); test_step.dependOn(&run.step); return test_step; @@ -764,6 +765,7 @@ fn testFuncAddress(b: *Build, opts: Options) *Step { exe.pie = false; const run = addRunArtifact(exe); + run.expectExitCode(0); test_step.dependOn(&run.step); return test_step; @@ -940,6 +942,7 @@ fn testIFuncDlopen(b: *Build, opts: Options) *Step { exe.pie = false; const run = addRunArtifact(exe); + run.expectExitCode(0); test_step.dependOn(&run.step); return test_step; @@ -1469,6 +1472,7 @@ fn testLargeBss(b: *Build, opts: Options) *Step { exe.linkLibC(); const run = addRunArtifact(exe); + run.expectExitCode(0); test_step.dependOn(&run.step); return test_step;