Skip to content

Commit c5ad287

Browse files
[tests] Run module interface build alternative interface test in dynamic target cpu
1 parent eb70e0f commit c5ad287

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed
Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
// REQUIRES: VENDOR=apple
2+
3+
// Required DummyFramework imported is only built for those two CPU architectures.
4+
// REQUIRES: CPU=arm64 || CPU=x86_64
5+
// REQUIRES: OS=macosx
6+
27
// RUN: %empty-directory(%t/module-cache)
3-
// 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
4-
// 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
8+
// 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
9+
// 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
510

611
import DummyFramework

0 commit comments

Comments
 (0)