[test] Update ParseableInterface to ModuleInterface

Also remove uses of -emit-parseable-module-interface from tests
This commit is contained in:
Harlan Haskins
2019-09-13 14:19:56 -07:00
parent c82c9b8210
commit d3b8ce7ae2
181 changed files with 183 additions and 183 deletions

View File

@@ -0,0 +1,13 @@
// RUN: %empty-directory(%t)
// Create a prebuilt module cache and populate it with a prebuilt module.
// RUN: %empty-directory(%t/prebuilt-cache)
// RUN: %target-swift-frontend -parse-stdlib %S/Inputs/prebuilt-module-cache/Lib.swiftinterface -emit-module-path %t/prebuilt-cache/Lib.swiftmodule - -module-name Lib
// Compile against the module with a module cache that does not exist
// RUN: %target-swift-frontend -typecheck -parse-stdlib -module-cache-path %t/RandomPath/NonExistentCachePath -sdk %S/Inputs -I %S/Inputs/prebuilt-module-cache -prebuilt-module-cache-path %t/prebuilt-cache %s
// Make sure we installed a forwarding module.
// RUN: %{python} %S/Inputs/check-is-forwarding-module.py %t/RandomPath/NonExistentCachePath/Lib-*.swiftmodule
import Lib