From a4bb1a134defb7af23c257c0202c7ed883773f85 Mon Sep 17 00:00:00 2001 From: Alex Hoppen Date: Thu, 4 Sep 2025 20:19:37 +0200 Subject: [PATCH] Require the macOS SDK for `InspectBuildDescriptionTests` We need the macOS SDK in order to generate the build graph containing app targets. --- Tests/SwiftBuildTests/InspectBuildDescriptionTests.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Tests/SwiftBuildTests/InspectBuildDescriptionTests.swift b/Tests/SwiftBuildTests/InspectBuildDescriptionTests.swift index e4fde56a..7af073cf 100644 --- a/Tests/SwiftBuildTests/InspectBuildDescriptionTests.swift +++ b/Tests/SwiftBuildTests/InspectBuildDescriptionTests.swift @@ -22,7 +22,7 @@ import SWBCore // These tests use the old model, ie. the index build arena is disabled. @Suite(.requireHostOS(.macOS)) fileprivate struct InspectBuildDescriptionTests { - @Test + @Test(.requireSDKs(.macOS)) func configuredTargets() async throws { try await withTemporaryDirectory { (temporaryDirectory: NamedTemporaryDirectory) in try await withAsyncDeferrable { deferrable in @@ -74,7 +74,7 @@ fileprivate struct InspectBuildDescriptionTests { } } - @Test + @Test(.requireSDKs(.macOS)) func configuredTargetSources() async throws { try await withTemporaryDirectory { (temporaryDirectory: NamedTemporaryDirectory) in try await withAsyncDeferrable { deferrable in @@ -152,7 +152,7 @@ fileprivate struct InspectBuildDescriptionTests { } } - @Test + @Test(.requireSDKs(.macOS)) func indexCompilerArguments() async throws { try await withTemporaryDirectory { (temporaryDirectory: NamedTemporaryDirectory) in try await withAsyncDeferrable { deferrable in