Skip to content

Commit e10ebca

Browse files
committed
ModuleInterface: Adopt swiftinterface verification lit substitutions in emit-interface-macos-canonical-version.swift. Move the test to the ModuleInterface directory to colocate it with other swiftinterface generation tests and rename it to availability-macos-canonical-version.swift. Remove an extraneous -experimental-skip-non-inlinable-function-bodies flag that seemed like it was copypasta.
1 parent aeafcf8 commit e10ebca

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/Frontend/emit-interface-macos-canonical-version.swift renamed to test/ModuleInterface/availability-macos-canonical-version.swift

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// RUN: %empty-directory(%t)
2-
// RUN: %target-swift-frontend -typecheck %s -enable-library-evolution -emit-module-interface-path %t/Module.swiftinterface -experimental-skip-non-inlinable-function-bodies
3-
// RUN: %FileCheck %s --check-prefixes CHECK < %t/Module.swiftinterface
2+
// RUN: %target-swift-emit-module-interface(%t/Module.swiftinterface) %s
3+
// RUN: %target-swift-typecheck-module-from-interface(%t/Module.swiftinterface)
4+
// RUN: %FileCheck %s < %t/Module.swiftinterface
45

56
// REQUIRES: OS=macosx
67

0 commit comments

Comments
 (0)