diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2023-10-22 12:16:35 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2023-10-22 12:16:35 -0700 |
| commit | 6f0198cadbe29294f2bf3153a27beebd64377566 (patch) | |
| tree | 99e6a8657282d9ffe09944a52c78b7e5b6949071 /test/tests.zig | |
| parent | 9f0359d78f9facc38418e32b0e8c1bf6f99f0d26 (diff) | |
| download | zig-6f0198cadbe29294f2bf3153a27beebd64377566.tar.gz zig-6f0198cadbe29294f2bf3153a27beebd64377566.zip | |
Revert "Merge pull request #17637 from jacobly0/x86_64-test-std"
This reverts commit 0c99ba1eab63865592bb084feb271cd4e4b0357e, reversing
changes made to 5f92b070bf284f1493b1b5d433dd3adde2f46727.
This caused a CI failure when it landed in master branch due to a
128-bit `@byteSwap` in std.mem.
Diffstat (limited to 'test/tests.zig')
| -rw-r--r-- | test/tests.zig | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/test/tests.zig b/test/tests.zig index d393c39a08..88ab31aabd 100644 --- a/test/tests.zig +++ b/test/tests.zig @@ -985,9 +985,7 @@ pub fn addModuleTests(b: *std.Build, options: ModuleTestOptions) *Step { continue; // TODO get compiler-rt tests passing for self-hosted backends. - 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")) + if (test_target.use_llvm == false and mem.eql(u8, options.name, "compiler-rt")) continue; // TODO get compiler-rt tests passing for wasm32-wasi @@ -1004,10 +1002,8 @@ pub fn addModuleTests(b: *std.Build, options: ModuleTestOptions) *Step { test_target.use_llvm == false and mem.eql(u8, options.name, "universal-libc")) continue; - // TODO get std lib tests passing for other self-hosted backends. - 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, "std")) + // TODO get std lib tests passing for self-hosted backends. + if (test_target.use_llvm == false and mem.eql(u8, options.name, "std")) continue; const want_this_mode = for (options.optimize_modes) |m| { |
