Skip to content

Commit e6c5bd5

Browse files
[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.
1 parent 5b1014e commit e6c5bd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/SWBBuildSystemTests/SwiftCompilationCachingTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ fileprivate struct SwiftCompilationCachingTests: CoreBasedTests {
191191
"PRODUCT_NAME": "$(TARGET_NAME)",
192192
"SWIFT_ENABLE_COMPILE_CACHE": "YES",
193193
"COMPILATION_CACHE_ENABLE_DIAGNOSTIC_REMARKS": "YES",
194-
"COMPILATION_CACHE_CAS_PATH": "$(DSTROOT)/CompilationCache"])],
194+
"COMPILATION_CACHE_CAS_PATH": tmpDirPath.join("CompilationCache").str])],
195195
buildPhases: [
196196
TestSourcesBuildPhase(["App1.swift"]),
197197
TestFrameworksBuildPhase([TestBuildFile(.target("FooProduct"))])],

0 commit comments

Comments
 (0)