aboutsummaryrefslogtreecommitdiff
path: root/test/src
diff options
context:
space:
mode:
authorAlex Rønne Petersen <alex@alexrp.com>2025-11-14 22:39:12 +0100
committerAlex Rønne Petersen <alex@alexrp.com>2025-11-15 14:23:34 +0100
commitbbdf8eaf75d651fe26da2cd59bd2ee8795a0d556 (patch)
treee3be4beb9b8fcf5445b3771998e7375808447722 /test/src
parent3649aeb42602d0c24008a49b304b8bfc361dd4a2 (diff)
downloadzig-bbdf8eaf75d651fe26da2cd59bd2ee8795a0d556.tar.gz
zig-bbdf8eaf75d651fe26da2cd59bd2ee8795a0d556.zip
build: change -Dskip-macos to -Dskip-darwin and make it cover all darwin OSs
Diffstat (limited to 'test/src')
-rw-r--r--test/src/Cases.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/src/Cases.zig b/test/src/Cases.zig
index 2fdcc45195..95ee7e21e7 100644
--- a/test/src/Cases.zig
+++ b/test/src/Cases.zig
@@ -447,7 +447,7 @@ pub const CaseTestOptions = struct {
skip_freebsd: bool,
skip_netbsd: bool,
skip_windows: bool,
- skip_macos: bool,
+ skip_darwin: bool,
skip_linux: bool,
skip_llvm: bool,
skip_libc: bool,
@@ -475,7 +475,7 @@ pub fn lowerToBuildSteps(
if (options.skip_freebsd and case.target.query.os_tag == .freebsd) continue;
if (options.skip_netbsd and case.target.query.os_tag == .netbsd) continue;
if (options.skip_windows and case.target.query.os_tag == .windows) continue;
- if (options.skip_macos and case.target.query.os_tag == .macos) continue;
+ if (options.skip_darwin and case.target.query.os_tag != null and case.target.query.os_tag.?.isDarwin()) continue;
if (options.skip_linux and case.target.query.os_tag == .linux) continue;
const would_use_llvm = @import("../tests.zig").wouldUseLlvm(