@@ -158,21 +158,6 @@ fileprivate struct HostBuildToolBuildOperationTests: CoreBasedTests {
158
158
}
159
159
}
160
160
161
- @Test ( . requireSDKs( . macOS) )
162
- func hostToolsAndDependenciesAreBuiltDuringIndexingPreparation_Mac( ) async throws {
163
- try await testHostToolsAndDependenciesAreBuiltDuringIndexingPreparation ( destination: . anyMac)
164
- }
165
-
166
- @Test ( . requireSDKs( . macOS, . iOS) )
167
- func hostToolsAndDependenciesAreBuiltDuringIndexingPreparation_MacCatalyst( ) async throws {
168
- try await testHostToolsAndDependenciesAreBuiltDuringIndexingPreparation ( destination: . anyMacCatalyst)
169
- }
170
-
171
- @Test ( . requireSDKs( . macOS, . iOS) )
172
- func hostToolsAndDependenciesAreBuiltDuringIndexingPreparation_iOS( ) async throws {
173
- try await testHostToolsAndDependenciesAreBuiltDuringIndexingPreparation ( destination: . anyiOSDevice)
174
- }
175
-
176
161
private func withHostToolsPackages(
177
162
clients: TestProject ... ,
178
163
body: ( BuildOperationTester , TestWorkspace ) async throws -> Void
@@ -346,6 +331,7 @@ fileprivate struct HostBuildToolBuildOperationTests: CoreBasedTests {
346
331
}
347
332
}
348
333
334
+ @Test ( . requireSDKs( . macOS, . iOS) , arguments: [ RunDestinationInfo . anyMac, . anyMacCatalyst, . anyiOSDevice] )
349
335
func testHostToolsAndDependenciesAreBuiltDuringIndexingPreparation( destination: RunDestinationInfo ) async throws {
350
336
let testProject = try await TestProject (
351
337
" aProject " ,
@@ -452,10 +438,10 @@ fileprivate struct HostBuildToolBuildOperationTests: CoreBasedTests {
452
438
}
453
439
}
454
440
455
- @Test ( . requireSDKs( . macOS) )
456
- func testHostToolsAndDependenciesAreBuiltDuringIndexingPreparationForPackage( ) async throws {
441
+ @Test ( . requireSDKs( . macOS, . iOS ) , arguments : [ RunDestinationInfo . anyMac , . anyMacCatalyst , . anyiOSDevice ] )
442
+ func testHostToolsAndDependenciesAreBuiltDuringIndexingPreparationForPackage( destination : RunDestinationInfo ) async throws {
457
443
try await withHostToolsPackages { tester, testWorkspace in
458
- try await tester. checkIndexBuild ( prepareTargets: testWorkspace. projects [ 1 ] . targets. map ( \. guid) , workspaceOperation: false , runDestination: . anyMac , persistent: true ) { results in
444
+ try await tester. checkIndexBuild ( prepareTargets: testWorkspace. projects [ 1 ] . targets. map ( \. guid) , workspaceOperation: false , runDestination: destination , persistent: true ) { results in
459
445
results. checkNoDiagnostics ( )
460
446
461
447
results. checkTaskExists ( . matchTargetName( " HostTool " ) , . matchRuleType( " Ld " ) )
0 commit comments