Skip to content

Commit bd3b827

Browse files
authored
Merge pull request swiftlang#27162 from slavapestov/parseable-interface-test-cleanup
Small cleanup for a couple of parseable interface tests
2 parents dc59cd2 + 56abf9e commit bd3b827

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

test/ParseableInterface/inherited-generic-parameters.swift

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,9 @@
33
// RUN: %target-swift-frontend -typecheck %s -emit-module-interface-path %t/main.swiftinterface -enable-library-evolution
44
// RUN: %FileCheck %s < %t/main.swiftinterface
55

6-
// RUN: %target-build-swift %s -emit-module-interface-path %t/main.swiftinterface -enable-library-evolution
7-
// RUN: %FileCheck %s < %t/main.swiftinterface
6+
// RUN: %target-swift-frontend -emit-module -module-name main -primary-file %s -emit-module-path %t/main~partial.swiftmodule -enable-library-evolution
87

9-
// RUN: %target-build-swift %s -emit-module-interface-path %t/main.swiftinterface -enable-library-evolution -wmo
8+
// RUN: %target-swift-frontend -merge-modules %t/main~partial.swiftmodule -emit-module-path %t/main.swiftmodule -emit-module-interface-path %t/main.swiftinterface -enable-library-evolution
109
// RUN: %FileCheck %s < %t/main.swiftinterface
1110

1211
// This test makes sure that we substitute uses of the superclass's generic

test/ParseableInterface/where-clause.swift

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,9 @@
33
// RUN: %target-swift-frontend -typecheck %s -emit-module-interface-path %t/main.swiftinterface -enable-library-evolution
44
// RUN: %FileCheck %s < %t/main.swiftinterface
55

6-
// RUN: %target-build-swift %s -emit-module-interface-path %t/main.swiftinterface -enable-library-evolution
7-
// RUN: %FileCheck %s < %t/main.swiftinterface
6+
// RUN: %target-swift-frontend -emit-module -module-name main -primary-file %s -emit-module-path %t/main~partial.swiftmodule -enable-library-evolution
87

9-
// RUN: %target-build-swift %s -emit-module-interface-path %t/main.swiftinterface -enable-library-evolution -wmo
8+
// RUN: %target-swift-frontend -merge-modules %t/main~partial.swiftmodule -emit-module-path %t/main.swiftmodule -emit-module-interface-path %t/main.swiftinterface -enable-library-evolution
109
// RUN: %FileCheck %s < %t/main.swiftinterface
1110

1211
// CHECK: import Swift

0 commit comments

Comments
 (0)