File tree Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 1
1
// REQUIRES: OS=macosx
2
2
// REQUIRES: objc_interop
3
- // RUN: %target-swift-frontend -typecheck %s -F %S/mock-sdk -swift-version 3
3
+ // RUN: %target-swift-frontend -typecheck %s -F %S/mock-sdk
4
4
// RUN: %empty-directory(%t)
5
- // RUN: %target-swift-frontend -c -F %S/mock-sdk -api-diff-data-file %S/DoubleEditAPI.json -update-code -primary-file %s -emit-migrated-file-path %t/no_double_edit_ast_pass.result -swift-version 3 - o /dev/null
5
+ // RUN: %target-swift-frontend -c -F %S/mock-sdk -api-diff-data-file %S/DoubleEditAPI.json -update-code -primary-file %s -emit-migrated-file-path %t/no_double_edit_ast_pass.result -o /dev/null
6
6
// RUN: diff -u %s.expected %t/no_double_edit_ast_pass.result
7
7
8
8
import Bar
Original file line number Diff line number Diff line change 1
1
// REQUIRES: OS=macosx
2
2
// REQUIRES: objc_interop
3
- // RUN: %target-swift-frontend -typecheck %s -F %S/mock-sdk -swift-version 3
3
+ // RUN: %target-swift-frontend -typecheck %s -F %S/mock-sdk
4
4
// RUN: %empty-directory(%t)
5
- // RUN: %target-swift-frontend -c -F %S/mock-sdk -api-diff-data-file %S/DoubleEditAPI.json -update-code -primary-file %s -emit-migrated-file-path %t/no_double_edit_ast_pass.result -swift-version 3 - o /dev/null
5
+ // RUN: %target-swift-frontend -c -F %S/mock-sdk -api-diff-data-file %S/DoubleEditAPI.json -update-code -primary-file %s -emit-migrated-file-path %t/no_double_edit_ast_pass.result -o /dev/null
6
6
// RUN: diff -u %s.expected %t/no_double_edit_ast_pass.result
7
7
8
8
import Bar
Original file line number Diff line number Diff line change 1
1
// REQUIRES: OS=ios
2
2
// REQUIRES: CPU=arm64
3
- // RUN: %target-swift-frontend -typecheck %s -swift-version 3
3
+ // RUN: %target-swift-frontend -typecheck %s
4
4
// RUN: %empty-directory(%t)
5
- // RUN: cd %t && %target-swiftc_driver -c -update-code -output-file-map %S/Inputs/no_duplicate_aarch64_use_tbi_ofm.json -swift-version 3 %s -v
6
- // RUN: cd %t && %target-swiftc_driver -c -update-code -output-file-map %S/Inputs/no_duplicate_aarch64_use_tbi_ofm.json -swift-version 3 %s -### > %t/driver_actions.txt
5
+ // RUN: cd %t && %target-swiftc_driver -c -update-code -output-file-map %S/Inputs/no_duplicate_aarch64_use_tbi_ofm.json %s -v
6
+ // RUN: cd %t && %target-swiftc_driver -c -update-code -output-file-map %S/Inputs/no_duplicate_aarch64_use_tbi_ofm.json %s -### > %t/driver_actions.txt
7
7
// RUN: %FileCheck --check-prefix=CHECK-REMAP %s < %t/no_duplicate_aarch64_use_tbi.remap
8
8
// RUN: %FileCheck --check-prefix=CHECK-ACTIONS %s < %t/driver_actions.txt
9
9
Original file line number Diff line number Diff line change 1
1
// REQUIRES: OS=macosx
2
- // RUN: %empty-directory(%t) && %target-swift-frontend -typecheck -update-code -primary-file %s -emit-migrated-file-path %t/dummpy.result -swift-version 3
3
- // RUN: %target-swift-frontend -typecheck -update-code -primary-file %s -emit-migrated-file-path %t/dummpy.result -swift-version 4
2
+ // RUN: %empty-directory(%t) && %target-swift-frontend -typecheck -update-code -primary-file %s -emit-migrated-file-path %t/dummpy.result -swift-version 4
3
+ // RUN: %target-swift-frontend -typecheck -update-code -primary-file %s -emit-migrated-file-path %t/dummpy.result -swift-version 5
4
4
5
5
func foo( ) { }
You can’t perform that action at this time.
0 commit comments