mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[APIJSON] Impromve tests to it doesn't rely on SDK content
Remove the dependency of APIJSON tests on SDK to improve stability and speed. rdar://89448415
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// REQUIRES: objc_interop, OS=macosx
|
||||
// RUN: %empty-directory(%t)
|
||||
// RUN: %target-swift-frontend %s -typecheck -emit-module-interface-path %t/MyModule.swiftinterface -enable-library-evolution -module-name MyModule -swift-version 5
|
||||
// RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk-nosource -I %t) %s -typecheck -emit-module-interface-path %t/MyModule.swiftinterface -enable-library-evolution -module-name MyModule -swift-version 5
|
||||
// RUN: %target-swift-api-extract -o - -pretty-print %t/MyModule.swiftinterface -module-name MyModule -module-cache-path %t | %FileCheck %s
|
||||
|
||||
import Foundation
|
||||
|
||||
Reference in New Issue
Block a user