@@ -106,7 +106,7 @@ fileprivate struct CleanOperationTests: CoreBasedTests {
106
106
@Test ( . requireSDKs( . macOS) )
107
107
func cleanFramework( ) async throws {
108
108
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 " ) ]
110
110
111
111
try await tester. checkBuild ( runDestination: . macOS, persistent: true ) { results in
112
112
// Check if build folder tasks have run as expected.
@@ -136,7 +136,7 @@ fileprivate struct CleanOperationTests: CoreBasedTests {
136
136
@Test ( . requireSDKs( . macOS) )
137
137
func cleanFrameworkInstall( ) async throws {
138
138
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 " ) ]
140
140
141
141
try await tester. checkBuild ( runDestination: . macOS, persistent: true ) { results in
142
142
// Check if build folder tasks have run as expected.
@@ -212,7 +212,7 @@ fileprivate struct CleanOperationTests: CoreBasedTests {
212
212
let buildRequest = BuildRequest ( parameters: parameters, buildTargets: buildTargets, continueBuildingAfterErrors: true , useParallelTargets: true , useImplicitDependencies: false , useDryRun: false )
213
213
try await tester. checkBuild ( runDestination: . macOS, buildRequest: buildRequest, persistent: true ) { results in
214
214
results. checkTasks ( . matchRuleType( " CreateBuildDirectory " ) ) { tasks in
215
- #expect( tasks. count == 6 )
215
+ #expect( tasks. count == 10 )
216
216
}
217
217
218
218
results. checkNoTask ( . matchRuleType( " CreateBuildDirectory " ) )
@@ -234,7 +234,7 @@ fileprivate struct CleanOperationTests: CoreBasedTests {
234
234
@Test ( . requireSDKs( . macOS) )
235
235
func cleanDoesNotDeleteManuallyCreatedFolders( ) async throws {
236
236
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 " ) ]
238
238
239
239
for folder in buildFolderPaths {
240
240
try tester. fs. createDirectory ( folder, recursive: true )
0 commit comments