build: change -Dskip-macos to -Dskip-darwin and make it cover all darwin OSs

This commit is contained in:
Alex Rønne Petersen
2025-11-14 22:39:12 +01:00
parent 3649aeb426
commit bbdf8eaf75
7 changed files with 17 additions and 17 deletions
+2 -2
View File
@@ -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(