authorgravatar for kubkon@jakubkonka.comJakub Konka <kubkon@jakubkonka.com> 2022-05-02 21:38:05+02:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2022-05-02 21:22:07-04:00
logf648a1b0439aaf22be26b29d290e53493f4db16b
tree0b765724e665b2dccf3b08442550277bd90691dc
parent3679d737f88fc18da8b8f1d6d6d2a6e8690ebd1d

test: regression fix: skip stage1 if not enabled


1 files changed, 2 insertions(+), 0 deletions(-)

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