From 70c8e7f91dcfdc908bcb41311b24cb2e150182d0 Mon Sep 17 00:00:00 2001 From: Jacob Young Date: Fri, 20 Oct 2023 17:52:34 -0400 Subject: x86_64: disable failing tests, enable test-compiler-rt testing --- test/tests.zig | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'test/tests.zig') diff --git a/test/tests.zig b/test/tests.zig index 479fe98230..d393c39a08 100644 --- a/test/tests.zig +++ b/test/tests.zig @@ -985,7 +985,9 @@ pub fn addModuleTests(b: *std.Build, options: ModuleTestOptions) *Step { continue; // TODO get compiler-rt tests passing for self-hosted backends. - if (test_target.use_llvm == false and mem.eql(u8, options.name, "compiler-rt")) + if ((test_target.target.getCpuArch() != .x86_64 or + test_target.target.getObjectFormat() != .elf) and + test_target.use_llvm == false and mem.eql(u8, options.name, "compiler-rt")) continue; // TODO get compiler-rt tests passing for wasm32-wasi @@ -1004,7 +1006,7 @@ pub fn addModuleTests(b: *std.Build, options: ModuleTestOptions) *Step { // TODO get std lib tests passing for other self-hosted backends. if ((test_target.target.getCpuArch() != .x86_64 or - test_target.target.os_tag != .linux) and + test_target.target.getObjectFormat() != .elf) and test_target.use_llvm == false and mem.eql(u8, options.name, "std")) continue; -- cgit v1.2.3