test: regression fix: skip stage1 if not enabled

This commit is contained in:
Jakub Konka 2022-05-02 21:38:05 +02:00 committed by Andrew Kelley
parent 3679d737f8
commit f648a1b043

View File

@ -1053,6 +1053,8 @@ pub const TestContext = struct {
// Cross-product to get all possible test combinations
for (backends) |backend| {
if (backend == .stage1 and skip_stage1) continue;
for (targets) |target| {
const name = try std.fmt.allocPrint(ctx.arena, "{s} ({s}, {s})", .{
name_prefix,