Conditionally renable tests
This commit is contained in:
parent
7102578769
commit
f245b28ed8
@ -513,7 +513,15 @@ pub fn main() !void {
|
|||||||
errors = true;
|
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) {
|
if (errors) {
|
||||||
return error.fail;
|
return error.fail;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user