diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2023-11-06 16:02:27 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2023-11-06 16:03:04 -0700 |
| commit | 234693bcbba6f55ff6e975ddbedf0fad4dfaa8f1 (patch) | |
| tree | ad9da0679b7c2007ae3951ab58ad50c82d1deeab /test/tests.zig | |
| parent | 5ea973dc39cc1b3a9826ef94affb33e41c02c733 (diff) | |
| download | zig-234693bcbba6f55ff6e975ddbedf0fad4dfaa8f1.tar.gz zig-234693bcbba6f55ff6e975ddbedf0fad4dfaa8f1.zip | |
tests: skip native CPU std tests on Windows
See tracking issue #17902
Diffstat (limited to 'test/tests.zig')
| -rw-r--r-- | test/tests.zig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/tests.zig b/test/tests.zig index e2bd12028b..2603ca7670 100644 --- a/test/tests.zig +++ b/test/tests.zig @@ -1095,6 +1095,16 @@ pub fn addModuleTests(b: *std.Build, options: ModuleTestOptions) *Step { test_target.use_llvm == false and mem.eql(u8, options.name, "std")) continue; + if (test_target.target.getCpuArch() == .x86_64 and + test_target.target.getOsTag() == .windows and + test_target.target.cpu_arch == null and + test_target.optimize_mode != .Debug and + mem.eql(u8, options.name, "std")) + { + // https://github.com/ziglang/zig/issues/17902 + continue; + } + const want_this_mode = for (options.optimize_modes) |m| { if (m == test_target.optimize_mode) break true; } else false; |
