From ca8cf1918363d3ecefc207f4dff73067d90b0e63 Mon Sep 17 00:00:00 2001 From: Steven Wu Date: Wed, 8 Oct 2025 11:29:03 -0700 Subject: [PATCH] [TEST-ONLY] Fix CASPath in swiftCachingSwiftPM() Change CASPath used in `swiftCachingSwiftPM` to be in the temp directory like the other tests. Current path might be complained by certain OS configuration about permission issues. --- Tests/SWBBuildSystemTests/SwiftCompilationCachingTests.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/SWBBuildSystemTests/SwiftCompilationCachingTests.swift b/Tests/SWBBuildSystemTests/SwiftCompilationCachingTests.swift index c254039a..ff197e51 100644 --- a/Tests/SWBBuildSystemTests/SwiftCompilationCachingTests.swift +++ b/Tests/SWBBuildSystemTests/SwiftCompilationCachingTests.swift @@ -191,7 +191,7 @@ fileprivate struct SwiftCompilationCachingTests: CoreBasedTests { "PRODUCT_NAME": "$(TARGET_NAME)", "SWIFT_ENABLE_COMPILE_CACHE": "YES", "COMPILATION_CACHE_ENABLE_DIAGNOSTIC_REMARKS": "YES", - "COMPILATION_CACHE_CAS_PATH": "$(DSTROOT)/CompilationCache"])], + "COMPILATION_CACHE_CAS_PATH": tmpDirPath.join("CompilationCache").str])], buildPhases: [ TestSourcesBuildPhase(["App1.swift"]), TestFrameworksBuildPhase([TestBuildFile(.target("FooProduct"))])],