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
This commit is contained in:
Andrew Kelley 2022-08-22 14:10:45 -07:00
parent dae7aeb337
commit 5d2e9a1244

View File

@ -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;