motiejus/zig

fork of https://codeberg.org/ziglang/zig
git clone https://git.jakstys.lt/motiejus/zig.git
Log | Tree | Refs | README | LICENSE

commit 5d2e9a12443e7f6aae1e9289f15b02f85be4bb32 (tree)
parent dae7aeb33779d0214c3efe0960af0059416aed51
Author: Andrew Kelley <andrew@ziglang.org>
Date:   Mon, 22 Aug 2022 14:10:45 -0700

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:
Mtest/tests.zig | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 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;