From 7829c73ccf34e0808b69a2dd11844bb8bd0a5750 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Mon, 21 Nov 2022 22:56:05 -0700 Subject: [PATCH] disable failing arm-linux non-llvm backend tests See #13623 --- src/test.zig | 8 +++++++- test/tests.zig | 30 ++++++++++++++++-------------- 2 files changed, 23 insertions(+), 15 deletions(-) diff --git a/src/test.zig b/src/test.zig index c32cd84686..0e96be00e8 100644 --- a/src/test.zig +++ b/src/test.zig @@ -1816,7 +1816,13 @@ pub const TestContext = struct { try argv.appendSlice(&.{ "-I", p }); } } else switch (host.getExternalExecutor(target_info, .{ .link_libc = case.link_libc })) { - .native => try argv.append(exe_path), + .native => { + if (case.backend == .stage2 and case.target.getCpuArch() == .arm) { + // https://github.com/ziglang/zig/issues/13623 + continue :update; // Pass test. + } + try argv.append(exe_path); + }, .bad_dl, .bad_os_or_cpu => continue :update, // Pass test. .rosetta => if (enable_rosetta) { diff --git a/test/tests.zig b/test/tests.zig index 26eee873bf..8ee2dd395d 100644 --- a/test/tests.zig +++ b/test/tests.zig @@ -81,20 +81,22 @@ const test_targets = blk: { .single_threaded = true, .backend = .stage2_wasm, }, - .{ - .target = .{ - .cpu_arch = .arm, - .os_tag = .linux, - }, - .backend = .stage2_arm, - }, - .{ - .target = CrossTarget.parse(.{ - .arch_os_abi = "arm-linux-none", - .cpu_features = "generic+v8a", - }) catch unreachable, - .backend = .stage2_arm, - }, + // https://github.com/ziglang/zig/issues/13623 + //.{ + // .target = .{ + // .cpu_arch = .arm, + // .os_tag = .linux, + // }, + // .backend = .stage2_arm, + //}, + // https://github.com/ziglang/zig/issues/13623 + //.{ + // .target = CrossTarget.parse(.{ + // .arch_os_abi = "arm-linux-none", + // .cpu_features = "generic+v8a", + // }) catch unreachable, + // .backend = .stage2_arm, + //}, .{ .target = .{ .cpu_arch = .aarch64,