mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
DummyFramework.framework has two different properties to support two different kinds of test cases: to support ModuleInterface/build-alternative-interface-framework.swift, its macOS interfaces are broken, but to support ModuleInterface/arm64e-fallback.swift, it supports only arm64, not arm64e, on iOS. The arm64e test's behavior is about to change, which will complicate all of this. As a preliminary step, make the two tests use two different frameworks so they aren't so intertwined. This temporarily keeps the arm64e test using the name "DummyFramework", but that will change.
11 lines
630 B
Swift
11 lines
630 B
Swift
// REQUIRES: VENDOR=apple
|
|
|
|
// Required DummyFramework imported is only built for macOS supported archs (x86_64, arm64, arm64e)
|
|
// REQUIRES: OS=macosx
|
|
|
|
// RUN: %empty-directory(%t/module-cache)
|
|
// 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 BrokenFramework
|