x64: completely ignore printing tests on macos until I fix the linker
This commit is contained in:
@@ -141,19 +141,18 @@ pub fn main2() anyerror!void {
|
||||
}
|
||||
};
|
||||
}
|
||||
switch (builtin.zig_backend) {
|
||||
.stage2_llvm, .stage2_wasm, .stage2_x86_64 => blk: {
|
||||
if (builtin.os.tag == .macos) break :blk;
|
||||
const passed = builtin.test_functions.len - skipped - failed;
|
||||
const stderr = std.io.getStdErr();
|
||||
writeInt(stderr, passed) catch {};
|
||||
stderr.writeAll(" passed; ") catch {};
|
||||
writeInt(stderr, skipped) catch {};
|
||||
stderr.writeAll(" skipped; ") catch {};
|
||||
writeInt(stderr, failed) catch {};
|
||||
stderr.writeAll(" failed.\n") catch {};
|
||||
},
|
||||
else => {},
|
||||
if (builtin.zig_backend == .stage2_llvm or
|
||||
builtin.zig_backend == .stage2_wasm or
|
||||
(builtin.zig_backend == .stage2_x86_64 and builtin.os.tag != .macos))
|
||||
{
|
||||
const passed = builtin.test_functions.len - skipped - failed;
|
||||
const stderr = std.io.getStdErr();
|
||||
writeInt(stderr, passed) catch {};
|
||||
stderr.writeAll(" passed; ") catch {};
|
||||
writeInt(stderr, skipped) catch {};
|
||||
stderr.writeAll(" skipped; ") catch {};
|
||||
writeInt(stderr, failed) catch {};
|
||||
stderr.writeAll(" failed.\n") catch {};
|
||||
}
|
||||
if (failed != 0) {
|
||||
return error.TestsFailed;
|
||||
|
||||
Reference in New Issue
Block a user