| author | |
| committer | |
| log | 75e9a8c7fabb1f32753960b9114dcee875256351 |
| tree | 078d2bee3d41b7c57531a69fe0b130ada0400a80 |
| parent | 437ddcce7a2f558e3580fbe7b43b434672bbe1d2 |
2c3d87b168bf522f538e78325fdae71c320e6e20 introduced a new test that
passes on macOS but fails on other operating systems. This commit makes
it only run on macOS.1 files changed, 3 insertions(+), 1 deletions(-)
test/link/macho/empty/build.zig+3-1| ... | ... | @@ -18,5 +18,7 @@ pub fn build(b: *Builder) void { |
| 18 | 18 | |
| 19 | 19 | const run_cmd = exe.run(); |
| 20 | 20 | run_cmd.expectStdOutEqual("Hello!\n"); |
| 21 | test_step.dependOn(&run_cmd.step); | |
| 21 | if (@import("builtin").os.tag == .macos) { | |
| 22 | test_step.dependOn(&run_cmd.step); | |
| 23 | } | |
| 22 | 24 | } |