@@ -106,7 +106,7 @@ fileprivate struct CleanOperationTests: CoreBasedTests {
106106 @Test ( . requireSDKs( . macOS) )
107107 func cleanFramework( ) async throws {
108108 try await withTestHarness { tester, tmpDirPath, _ in
109- let buildFolderPaths = [ tmpDirPath. join ( " Test/aProject/build " ) , tmpDirPath. join ( " Test/aProject/build/Debug " ) , tmpDirPath. join ( " Test/aProject/build/EagerLinkingTBDs/Debug " ) ]
109+ let buildFolderPaths = [ tmpDirPath. join ( " Test/aProject/build " ) , tmpDirPath. join ( " Test/aProject/build/Debug " ) , tmpDirPath. join ( " Test/aProject/build/EagerLinkingTBDs/Debug " ) , tmpDirPath . join ( " Test/aProject/build/ExplicitPrecompiledModules " ) , tmpDirPath . join ( " Test/aProject/build/SwiftExplicitPrecompiledModules " ) ]
110110
111111 try await tester. checkBuild ( runDestination: . macOS, persistent: true ) { results in
112112 // Check if build folder tasks have run as expected.
@@ -136,7 +136,7 @@ fileprivate struct CleanOperationTests: CoreBasedTests {
136136 @Test ( . requireSDKs( . macOS) )
137137 func cleanFrameworkInstall( ) async throws {
138138 try await withTestHarness ( install: true ) { tester, tmpDirPath, dstRoot in
139- let buildFolderPaths = [ dstRoot, tmpDirPath. join ( " Test/aProject/build " ) , tmpDirPath. join ( " Test/aProject/build/Debug " ) , tmpDirPath. join ( " Test/aProject/build/EagerLinkingTBDs/Debug " ) ]
139+ let buildFolderPaths = [ dstRoot, tmpDirPath. join ( " Test/aProject/build " ) , tmpDirPath. join ( " Test/aProject/build/Debug " ) , tmpDirPath. join ( " Test/aProject/build/EagerLinkingTBDs/Debug " ) , tmpDirPath . join ( " Test/aProject/build/ExplicitPrecompiledModules " ) , tmpDirPath . join ( " Test/aProject/build/SwiftExplicitPrecompiledModules " ) ]
140140
141141 try await tester. checkBuild ( runDestination: . macOS, persistent: true ) { results in
142142 // Check if build folder tasks have run as expected.
@@ -212,7 +212,7 @@ fileprivate struct CleanOperationTests: CoreBasedTests {
212212 let buildRequest = BuildRequest ( parameters: parameters, buildTargets: buildTargets, continueBuildingAfterErrors: true , useParallelTargets: true , useImplicitDependencies: false , useDryRun: false )
213213 try await tester. checkBuild ( runDestination: . macOS, buildRequest: buildRequest, persistent: true ) { results in
214214 results. checkTasks ( . matchRuleType( " CreateBuildDirectory " ) ) { tasks in
215- #expect( tasks. count == 6 )
215+ #expect( tasks. count == 10 )
216216 }
217217
218218 results. checkNoTask ( . matchRuleType( " CreateBuildDirectory " ) )
@@ -234,7 +234,7 @@ fileprivate struct CleanOperationTests: CoreBasedTests {
234234 @Test ( . requireSDKs( . macOS) )
235235 func cleanDoesNotDeleteManuallyCreatedFolders( ) async throws {
236236 try await withTestHarness { tester, tmpDirPath, _ in
237- let buildFolderPaths = [ tmpDirPath. join ( " Test/aProject/build " ) , tmpDirPath. join ( " Test/aProject/build/Debug " ) , tmpDirPath. join ( " Test/aProject/build/EagerLinkingTBDs/Debug " ) ]
237+ let buildFolderPaths = [ tmpDirPath. join ( " Test/aProject/build " ) , tmpDirPath. join ( " Test/aProject/build/Debug " ) , tmpDirPath. join ( " Test/aProject/build/EagerLinkingTBDs/Debug " ) , tmpDirPath . join ( " Test/aProject/build/ExplicitPrecompiledModules " ) , tmpDirPath . join ( " Test/aProject/build/SwiftExplicitPrecompiledModules " ) ]
238238
239239 for folder in buildFolderPaths {
240240 try tester. fs. createDirectory ( folder, recursive: true )
0 commit comments