mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[tests] Run module interface build alternative interface test in dynamic target cpu
This commit is contained in:
@@ -1,6 +1,11 @@
|
||||
// REQUIRES: VENDOR=apple
|
||||
|
||||
// Required DummyFramework imported is only built for those two CPU architectures.
|
||||
// REQUIRES: CPU=arm64 || CPU=x86_64
|
||||
// REQUIRES: OS=macosx
|
||||
|
||||
// RUN: %empty-directory(%t/module-cache)
|
||||
// RUN: not %target-swift-frontend-typecheck -disable-implicit-concurrency-module-import -target arm64-apple-macosx13.0 -F %S/Inputs %s -module-cache-path %t/module-cache
|
||||
// RUN: %target-swift-frontend-typecheck -disable-implicit-concurrency-module-import -target arm64-apple-macosx13.0 -F %S/Inputs %s -module-cache-path %t/module-cache -backup-module-interface-path %S/Inputs/alternative-interfaces
|
||||
// RUN: not %target-swift-frontend-typecheck -disable-implicit-concurrency-module-import -target %target-cpu-apple-macosx13.0 -F %S/Inputs %s -module-cache-path %t/module-cache
|
||||
// RUN: %target-swift-frontend-typecheck -disable-implicit-concurrency-module-import -target %target-cpu-apple-macosx13.0 -F %S/Inputs %s -module-cache-path %t/module-cache -backup-module-interface-path %S/Inputs/alternative-interfaces
|
||||
|
||||
import DummyFramework
|
||||
|
||||
Reference in New Issue
Block a user