mirror of
https://github.com/ziglang/zig.git
synced 2026-02-21 16:54:52 +00:00
skip macho link test execution on non-macOS
2c3d87b168bf522f538e78325fdae71c320e6e20 introduced a new test that passes on macOS but fails on other operating systems. This commit makes it only run on macOS.
This commit is contained in:
parent
437ddcce7a
commit
75e9a8c7fa
@ -18,5 +18,7 @@ pub fn build(b: *Builder) void {
|
||||
|
||||
const run_cmd = exe.run();
|
||||
run_cmd.expectStdOutEqual("Hello!\n");
|
||||
test_step.dependOn(&run_cmd.step);
|
||||
if (@import("builtin").os.tag == .macos) {
|
||||
test_step.dependOn(&run_cmd.step);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user