authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-08-31 22:39:22+02:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2024-09-19 18:20:21-07:00
log8c0902b7aec230b8149cc560ebcc3dc0bd7e2328
treebbfd9ae569a327e3858efa2d4e321ddd20760e4b
parentf8719c419705e7550077f6a699bc9a66888f10b6

Revert "tests: skip native CPU std tests on Windows"

This reverts commit 234693bcbba6f55ff6e975ddbedf0fad4dfaa8f1.

1 files changed, 0 insertions(+), 8 deletions(-)

test/tests.zig-8
...@@ -1198,14 +1198,6 @@ pub fn addModuleTests(b: *std.Build, options: ModuleTestOptions) *Step {...@@ -1198,14 +1198,6 @@ pub fn addModuleTests(b: *std.Build, options: ModuleTestOptions) *Step {
1198 test_target.use_llvm == false and mem.eql(u8, options.name, "c-import"))1198 test_target.use_llvm == false and mem.eql(u8, options.name, "c-import"))
1199 continue;1199 continue;
12001200
1201 if (target.cpu.arch == .x86_64 and target.os.tag == .windows and
1202 test_target.target.cpu_arch == null and test_target.optimize_mode != .Debug and
1203 mem.eql(u8, options.name, "std"))
1204 {
1205 // https://github.com/ziglang/zig/issues/17902
1206 continue;
1207 }
1208
1209 const want_this_mode = for (options.optimize_modes) |m| {1201 const want_this_mode = for (options.optimize_modes) |m| {
1210 if (m == test_target.optimize_mode) break true;1202 if (m == test_target.optimize_mode) break true;
1211 } else false;1203 } else false;