mirror of
https://github.com/ziglang/zig.git
synced 2024-11-16 17:15:37 +00:00
test: regression fix: skip stage1 if not enabled
This commit is contained in:
parent
3679d737f8
commit
f648a1b043
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user