Commit 780f654e19

Jacob Young <jacobly0@users.noreply.github.com>
2023-04-16 22:49:22
behavior: disable flaky test on x86_64
Also reenable stage2_x86_64 windows behavior tests in case it is failing for the same reason. Closes #15324
1 parent c1a2da6
Changed files (2)
test
behavior
test/behavior/bugs/12776.zig
@@ -32,6 +32,7 @@ test {
     if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest;
     if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest;
     if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest;
+    if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;
 
     var ram = try RAM.new();
     var cpu = try CPU.new(&ram);
test/tests.zig
@@ -942,14 +942,6 @@ pub fn addModuleTests(b: *std.Build, options: ModuleTestOptions) *Step {
         if (test_target.use_llvm == false and mem.eql(u8, options.name, "compiler-rt"))
             continue;
 
-        // TODO get the x86_64 self-hosted backend tests passing on Windows
-        if (test_target.target.getCpuArch() == .x86_64 and
-            test_target.target.getOsTag() == .windows and
-            test_target.use_llvm == false)
-        {
-            continue;
-        }
-
         // TODO get compiler-rt tests passing for wasm32-wasi
         // currently causes "LLVM ERROR: Unable to expand fixed point multiplication."
         if (test_target.target.getCpuArch() == .wasm32 and