|
1 | 1 | // UNSUPPORTED: OS=windows-msvc |
2 | 2 |
|
3 | 3 | // Standard Apple paths. |
4 | | -// RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk-nosource) -target arm64-apple-macos15.4 -parse %s -Rmodule-loading 2>&1 | %FileCheck -check-prefix=APPLE %s |
| 4 | +// RUN: %swift_frontend_plain -target arm64-apple-macos15.4 %clang-importer-sdk-nosource -parse-stdlib -parse %s -Rmodule-loading 2>&1 | %FileCheck -check-prefix=APPLE %s |
5 | 5 | // APPLE: Implicit framework search paths: |
6 | 6 | // APPLE-NEXT: [0] SOURCE_DIR/test/Inputs/clang-importer-sdk/System/Library/Frameworks |
7 | 7 | // APPLE-NEXT: [1] SOURCE_DIR/test/Inputs/clang-importer-sdk/System/Library/SubFrameworks |
|
12 | 12 | // APPLE-NEXT: (End of search path lists.) |
13 | 13 |
|
14 | 14 | // Non-Apple platforms don't have any implicit framework search paths. |
15 | | -// RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk-nosource) -target x86_64-unknown-linux-android -parse -parse-stdlib %s -Rmodule-loading 2>&1 | %FileCheck -check-prefix=ANDROID %s |
| 15 | +// RUN: %swift_frontend_plain -target x86_64-unknown-linux-android %clang-importer-sdk-nosource -parse-stdlib -parse %s -Rmodule-loading 2>&1 | %FileCheck -check-prefix=ANDROID %s |
16 | 16 | // ANDROID: Implicit framework search paths: |
17 | 17 | // ANDROID-NEXT: Runtime library import search paths: |
18 | 18 | // ANDROID-NEXT: [0] BUILD_DIR/lib/swift/android |
|
22 | 22 | // ANDROID-NEXT: (End of search path lists.) |
23 | 23 |
|
24 | 24 | // -nostdimport doesn't set up any standard import paths at all. |
25 | | -// RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk-nosource) -target arm64-apple-macos15.4 -nostdimport -parse %s -Rmodule-loading 2>&1 | %FileCheck -check-prefix=NOSTDIMPORT %s |
26 | | -// RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk-nosource) -target x86_64-unknown-linux-android -nostdimport -parse %s -Rmodule-loading 2>&1 | %FileCheck -check-prefix=NOSTDIMPORT %s |
| 25 | +// RUN: %swift_frontend_plain -target arm64-apple-macos15.4 %clang-importer-sdk-nosource -parse-stdlib -nostdimport -parse %s -Rmodule-loading 2>&1 | %FileCheck -check-prefix=NOSTDIMPORT %s |
| 26 | +// RUN: %swift_frontend_plain -target x86_64-unknown-linux-android %clang-importer-sdk-nosource -parse-stdlib -nostdimport -parse %s -Rmodule-loading 2>&1 | %FileCheck -check-prefix=NOSTDIMPORT %s |
27 | 27 | // NOSTDIMPORT: Implicit framework search paths: |
28 | 28 | // NOSTDIMPORT-NEXT: Runtime library import search paths: |
29 | 29 | // NOSTDIMPORT-NEXT: (End of search path lists.) |
30 | 30 |
|
31 | 31 | // -nostdlibimport removes all of the standard imports from the SDK but leaves the toolchain ones. |
32 | | -// RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk-nosource) -target arm64-apple-macos15.4 -nostdlibimport -parse %s -Rmodule-loading 2>&1 | %FileCheck -check-prefix=APPLE-NOSTDLIBIMPORT %s |
| 32 | +// RUN: %swift_frontend_plain -target arm64-apple-macos15.4 %clang-importer-sdk-nosource -parse-stdlib -nostdlibimport -parse %s -Rmodule-loading 2>&1 | %FileCheck -check-prefix=APPLE-NOSTDLIBIMPORT %s |
33 | 33 | // APPLE-NOSTDLIBIMPORT: Implicit framework search paths: |
34 | 34 | // APPLE-NOSTDLIBIMPORT-NEXT: Runtime library import search paths: |
35 | 35 | // APPLE-NOSTDLIBIMPORT-NEXT: [0] BUILD_DIR/lib/swift/macosx |
36 | 36 | // APPLE-NOSTDLIBIMPORT-NEXT: (End of search path lists.) |
37 | 37 |
|
38 | | -// RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk-nosource) -target x86_64-unknown-linux-android -nostdlibimport -parse -parse-stdlib %s -Rmodule-loading 2>&1 | %FileCheck -check-prefix=ANDROID-NOSTDLIBIMPORT %s |
| 38 | +// RUN: %swift_frontend_plain -target x86_64-unknown-linux-android %clang-importer-sdk-nosource -parse-stdlib -nostdlibimport -parse %s -Rmodule-loading 2>&1 | %FileCheck -check-prefix=ANDROID-NOSTDLIBIMPORT %s |
39 | 39 | // ANDROID-NOSTDLIBIMPORT: Implicit framework search paths: |
40 | 40 | // ANDROID-NOSTDLIBIMPORT-NEXT: Runtime library import search paths: |
41 | 41 | // ANDROID-NOSTDLIBIMPORT-NEXT: [0] BUILD_DIR/lib/swift/android |
|
0 commit comments