From a8842b6cbf4242c2cfec203b21149872a6d2e246 Mon Sep 17 00:00:00 2001 From: Jacob Young Date: Tue, 25 Apr 2023 04:04:08 -0400 Subject: [PATCH] cases: disable broken backends Disable backends that don't support the new liveness format. --- test/src/Cases.zig | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test/src/Cases.zig b/test/src/Cases.zig index b2c8ff555e..defe248fe6 100644 --- a/test/src/Cases.zig +++ b/test/src/Cases.zig @@ -390,6 +390,13 @@ fn addFromDirInner( // Cross-product to get all possible test combinations for (backends) |backend| { for (targets) |target| { + if (backend == .stage2 and + target.getCpuArch() != .wasm32 and target.getCpuArch() != .x86_64) + { + // Other backends don't support new liveness format + continue; + } + const next = ctx.cases.items.len; try ctx.cases.append(.{ .name = std.fs.path.stem(filename),