aboutsummaryrefslogtreecommitdiff
path: root/test/tests.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-08-11 12:56:46 -0700
committerAndrew Kelley <andrew@ziglang.org>2022-08-11 12:56:46 -0700
commitdba758da18a706efbdbeb1e1bbbabdfe49e1931d (patch)
treedc7acf0159b6419f16cf6e2fbf9cf77f35710139 /test/tests.zig
parent64307c28211a7d402bd7f4363dff5b65ab79bd34 (diff)
downloadzig-dba758da18a706efbdbeb1e1bbbabdfe49e1931d.tar.gz
zig-dba758da18a706efbdbeb1e1bbbabdfe49e1931d.zip
disable failing C backend behavior test on Windows
See tracking issue #12415
Diffstat (limited to 'test/tests.zig')
-rw-r--r--test/tests.zig7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/tests.zig b/test/tests.zig
index dcc891f878..0bca9a9d16 100644
--- a/test/tests.zig
+++ b/test/tests.zig
@@ -641,6 +641,13 @@ pub fn addPkgTests(
} else false;
if (!want_this_mode) continue;
+ if (test_target.backend) |backend| {
+ if (backend == .stage2_c and builtin.os.tag == .windows) {
+ // https://github.com/ziglang/zig/issues/12415
+ continue;
+ }
+ }
+
const libc_prefix = if (test_target.target.getOs().requiresLibC())
""
else if (test_target.link_libc)