Skip to content

Commit 8bbb4a2

Browse files
committed
disable failing arm-linux non-llvm backend tests
See #13623
1 parent 8f2bb38 commit 8bbb4a2

File tree

2 files changed

+23
-15
lines changed

2 files changed

+23
-15
lines changed

src/test.zig

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1816,7 +1816,13 @@ pub const TestContext = struct {
18161816
try argv.appendSlice(&.{ "-I", p });
18171817
}
18181818
} else switch (host.getExternalExecutor(target_info, .{ .link_libc = case.link_libc })) {
1819-
.native => try argv.append(exe_path),
1819+
.native => {
1820+
if (case.backend == .stage2 and case.target.getCpuArch() == .arm) {
1821+
// https://github.com/ziglang/zig/issues/13623
1822+
continue :update; // Pass test.
1823+
}
1824+
try argv.append(exe_path);
1825+
},
18201826
.bad_dl, .bad_os_or_cpu => continue :update, // Pass test.
18211827

18221828
.rosetta => if (enable_rosetta) {

test/tests.zig

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -81,20 +81,22 @@ const test_targets = blk: {
8181
.single_threaded = true,
8282
.backend = .stage2_wasm,
8383
},
84-
.{
85-
.target = .{
86-
.cpu_arch = .arm,
87-
.os_tag = .linux,
88-
},
89-
.backend = .stage2_arm,
90-
},
91-
.{
92-
.target = CrossTarget.parse(.{
93-
.arch_os_abi = "arm-linux-none",
94-
.cpu_features = "generic+v8a",
95-
}) catch unreachable,
96-
.backend = .stage2_arm,
97-
},
84+
// https://github.com/ziglang/zig/issues/13623
85+
//.{
86+
// .target = .{
87+
// .cpu_arch = .arm,
88+
// .os_tag = .linux,
89+
// },
90+
// .backend = .stage2_arm,
91+
//},
92+
// https://github.com/ziglang/zig/issues/13623
93+
//.{
94+
// .target = CrossTarget.parse(.{
95+
// .arch_os_abi = "arm-linux-none",
96+
// .cpu_features = "generic+v8a",
97+
// }) catch unreachable,
98+
// .backend = .stage2_arm,
99+
//},
98100
.{
99101
.target = .{
100102
.cpu_arch = .aarch64,

0 commit comments

Comments
 (0)