Skip to content

Commit f648a1b

Browse files
kubkonandrewrk
authored andcommitted
test: regression fix: skip stage1 if not enabled
1 parent 3679d73 commit f648a1b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/test.zig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1053,6 +1053,8 @@ pub const TestContext = struct {
10531053

10541054
// Cross-product to get all possible test combinations
10551055
for (backends) |backend| {
1056+
if (backend == .stage1 and skip_stage1) continue;
1057+
10561058
for (targets) |target| {
10571059
const name = try std.fmt.allocPrint(ctx.arena, "{s} ({s}, {s})", .{
10581060
name_prefix,

0 commit comments

Comments
 (0)