mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
test: make more of the ParseableInterface tests pass on Windows
Rewrite the shell to be more clever so it is amenable to porting to Windows. Use env not rather than not env to permit the lit environment handling to take over for Windows.
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
|
||||
// Do a manual prebuild, and see if it gets picked up.
|
||||
// RUN: %empty-directory(%t/MCP)
|
||||
// RUN: sed -e 's/FromInterface/FromPrebuilt/g' %S/Inputs/prebuilt-module-cache/Lib.swiftinterface | %target-swift-frontend -parse-stdlib -module-cache-path %t/MCP -emit-module-path %t/prebuilt-cache/Lib.swiftmodule - -module-name Lib
|
||||
// RUN: sed -e 's/FromInterface/FromPrebuilt/g' %S/Inputs/prebuilt-module-cache/Lib.swiftinterface | tr -d '\r' | %target-swift-frontend -parse-stdlib -module-cache-path %t/MCP -emit-module-path %t/prebuilt-cache/Lib.swiftmodule - -module-name Lib
|
||||
// RUN: not %target-swift-frontend -typecheck -parse-stdlib -module-cache-path %t/MCP -sdk %S/Inputs -I %S/Inputs/prebuilt-module-cache/ -prebuilt-module-cache-path %t/prebuilt-cache %s 2>&1 | %FileCheck -check-prefix=FROM-PREBUILT %s
|
||||
|
||||
// Make sure we installed a forwarding module.
|
||||
|
||||
Reference in New Issue
Block a user