Skip to content

Commit 172e136

Browse files
authored
Merge pull request #36556 from CodaFi/mod-retro
Drop Some Bogus CHECK-NOT Gates
2 parents 64c7582 + 904654d commit 172e136

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

test/Driver/Dependencies/one-way-while-editing-fine.swift

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,8 @@
77
// RUN: cd %t && not %swiftc_driver -c -driver-use-frontend-path "%{python.unquoted};%S/Inputs/modify-non-primary-files.py" -output-file-map %t/output.json -incremental -driver-always-rebuild-dependents ./main.swift ./other.swift -module-name main -j1 -v 2>&1 | %FileCheck %s
88

99
// CHECK: Handled main.swift
10-
// CHECK-NOT: error
10+
// CHECK: Handled other.swift
1111
// CHECK: error: input file 'other.swift' was modified during the build
12-
// CHECK-NOT: error
1312

1413
// RUN: cd %t && %swiftc_driver -c -driver-use-frontend-path "%{python.unquoted};%S/Inputs/update-dependencies.py;%swift-dependency-tool" -output-file-map %t/output.json -incremental -driver-always-rebuild-dependents ./main.swift ./other.swift -module-name main -j1 -v 2>&1 | %FileCheck -check-prefix=CHECK-RECOVER %s
1514

@@ -21,12 +20,9 @@
2120
// RUN: cd %t && not %swiftc_driver -c -driver-use-frontend-path "%{python.unquoted};%S/Inputs/modify-non-primary-files.py" -output-file-map %t/output.json -incremental -driver-always-rebuild-dependents ./other.swift ./main.swift -module-name main -j1 -v 2>&1 | %FileCheck -check-prefix=CHECK-REVERSED %s
2221

2322
// CHECK-REVERSED: Handled other.swift
24-
// CHECK-REVERSED-NOT: error
23+
// CHECK-REVERSED: Handled main.swift
2524
// CHECK-REVERSED: error: input file 'main.swift' was modified during the build
26-
// CHECK-REVERSED-NOT: error
2725

2826
// RUN: cd %t && %swiftc_driver -c -driver-use-frontend-path "%{python.unquoted};%S/Inputs/update-dependencies.py;%swift-dependency-tool" -output-file-map %t/output.json -incremental -driver-always-rebuild-dependents ./main.swift ./other.swift -module-name main -j1 -v 2>&1 | %FileCheck -check-prefix=CHECK-REVERSED-RECOVER %s
2927

30-
// CHECK-REVERSED-RECOVER-NOT: Handled other.swift
3128
// CHECK-REVERSED-RECOVER: Handled main.swift
32-
// CHECK-REVERSED-RECOVER-NOT: Handled other.swift

0 commit comments

Comments
 (0)