aboutsummaryrefslogtreecommitdiff
path: root/test/tests.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-08-22 14:10:45 -0700
committerAndrew Kelley <andrew@ziglang.org>2022-08-22 19:50:32 -0400
commit5d2e9a12443e7f6aae1e9289f15b02f85be4bb32 (patch)
tree5d0775f0bd0978eb9d9dd61e4b3393d0f99c8d45 /test/tests.zig
parentdae7aeb33779d0214c3efe0960af0059416aed51 (diff)
downloadzig-5d2e9a12443e7f6aae1e9289f15b02f85be4bb32.tar.gz
zig-5d2e9a12443e7f6aae1e9289f15b02f85be4bb32.zip
test harness: don't skip tests
The meaning of this "skip_stage2" flag was intended to mean the self-hosted backends, not the stage2 frontend. Sorry for the confusion. closes #12541
Diffstat (limited to 'test/tests.zig')
-rw-r--r--test/tests.zig3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/tests.zig b/test/tests.zig
index a622521182..a329233199 100644
--- a/test/tests.zig
+++ b/test/tests.zig
@@ -632,8 +632,9 @@ pub fn addPkgTests(
if (test_target.backend) |backend| switch (backend) {
.stage1 => if (skip_stage1) continue,
+ .stage2_llvm => {},
else => if (skip_stage2) continue,
- } else if (skip_stage2) continue;
+ };
const want_this_mode = for (modes) |m| {
if (m == test_target.mode) break true;