@@ -372,27 +372,10 @@ extension RemovalTestOptions {
372
372
}
373
373
374
374
extension IncrementalCompilationTests {
375
- /// While all cases are being made to work, just test for now in known good cases
376
- func testRemovalInPassingCases( ) throws {
377
- try testRemoval ( includeFailingCombos: false )
378
- }
379
-
380
- func testRemovalInAllCases( ) throws {
381
- try testRemoval ( includeFailingCombos: true )
382
- }
383
-
384
- func testRemoval( includeFailingCombos: Bool ) throws {
375
+ func testRemoval( ) throws {
385
376
#if !os(Linux)
386
- let knownGoodCombos : [ [ RemovalTestOption ] ] = [
387
- [ . removeInputFromInvocation] ,
388
- ]
389
377
for optionsToTest in RemovalTestOptions . allCombinations {
390
- if knownGoodCombos. contains ( optionsToTest) {
391
- try testRemoval ( optionsToTest)
392
- }
393
- else if includeFailingCombos {
394
- try testRemoval ( optionsToTest)
395
- }
378
+ try testRemoval ( optionsToTest)
396
379
}
397
380
#endif
398
381
}
@@ -826,6 +809,11 @@ extension IncrementalCompilationTests {
826
809
// containing entries for the deleted file. This test simulates that
827
810
// condition by restoring the deleted priors. The driver ought to be fixed
828
811
// to cull any entries for removed files from the deserialized priors.
812
+ //
813
+ // There is a wrinkle: How can a node for a decl in a removed file be
814
+ // distinguished from a node for a decl in an incrementally-imported
815
+ // external dependency? In both cases the node's `dependencySource`
816
+ // is for a file that is not in the `inputFiles`.
829
817
print ( " *** WARNING: skipping checks, driver fails to cleaned out the graph *** " ,
830
818
to: & stderrStream) ; stderrStream. flush ( )
831
819
return graph
0 commit comments