Commit f648a1b043

Jakub Konka <kubkon@jakubkonka.com>
2022-05-02 21:38:05
test: regression fix: skip stage1 if not enabled
1 parent 3679d73
Changed files (1)
src/test.zig
@@ -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,