aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/basic.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-07-23 20:03:50 -0700
committerAndrew Kelley <andrew@ziglang.org>2022-07-23 20:03:50 -0700
commit9964324856936ba7ac99985463568079dda6e40f (patch)
treed9c7b11e7fdf861ea0ac7a5c8ec3fd044f7396a3 /test/behavior/basic.zig
parentd99c32c2e193847d9d2cd1bbbef8e6ca157dde14 (diff)
downloadzig-9964324856936ba7ac99985463568079dda6e40f.tar.gz
zig-9964324856936ba7ac99985463568079dda6e40f.zip
disable flaky behavior test
see #12208
Diffstat (limited to 'test/behavior/basic.zig')
-rw-r--r--test/behavior/basic.zig7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/behavior/basic.zig b/test/behavior/basic.zig
index 5e9187ad3a..1a1412420a 100644
--- a/test/behavior/basic.zig
+++ b/test/behavior/basic.zig
@@ -978,6 +978,13 @@ test "array type comes from generic function" {
}
test "generic function uses return type of other generic function" {
+ if (builtin.zig_backend != .stage1) {
+ // This test has been failing sporadically on the CI.
+ // It's not enough to verify that it works locally; we need to diagnose why
+ // it fails on the CI sometimes before turning it back on.
+ // https://github.com/ziglang/zig/issues/12208
+ return error.SkipZigTest;
+ }
if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; // TODO
const S = struct {