commit f648a1b0439aaf22be26b29d290e53493f4db16b (tree)
parent 3679d737f88fc18da8b8f1d6d6d2a6e8690ebd1d
Author: Jakub Konka <kubkon@jakubkonka.com>
Date: Mon, 2 May 2022 21:38:05 +0200
test: regression fix: skip stage1 if not enabled
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/test.zig b/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,