From f245b28ed8b46e731dba65f9612da00006c05f2e Mon Sep 17 00:00:00 2001 From: David Gonzalez Martin Date: Mon, 25 Mar 2024 13:00:00 -0600 Subject: [PATCH] Conditionally renable tests --- build/test_runner.zig | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/build/test_runner.zig b/build/test_runner.zig index ace588e..04875db 100644 --- a/build/test_runner.zig +++ b/build/test_runner.zig @@ -513,7 +513,15 @@ pub fn main() !void { errors = true; }; - // try runCmakeTests(allocator); + switch (@import("builtin").os.tag) { + .macos => {}, + .linux => switch (@import("builtin").abi) { + .gnu => try runCmakeTests(allocator), + .musl => {}, + else => @compileError("ABI not supported"), + }, + else => @compileError("OS not supported"), + } if (errors) { return error.fail;