|
2 | 2 | // RUN: %empty-directory(%t/macos_module)
|
3 | 3 | // RUN: %empty-directory(%t/maccatalyst_module)
|
4 | 4 |
|
5 |
| -// REQUIRES: rdar73984718 |
6 | 5 |
|
7 | 6 | // Build a zippered library
|
8 | 7 |
|
9 | 8 | // Emit a zippered library and a module for use from macOSProcesses
|
10 |
| -// RUN: %target-build-swift %S/Inputs/availability_zippered.swift -target x86_64-apple-macosx10.15 -target-variant x86_64-apple-ios13.1-macabi -emit-library -emit-module -emit-module-path %t/macos_module/ -o %t/libavailability_zippered.dylib |
| 9 | +// RUN: %target-build-swift-dylib(%t/%target-library-name(availability_zippered)) %S/Inputs/availability_zippered.swift -target %target-cpu-apple-macosx10.15 -target-variant %target-cpu-apple-ios13.1-macabi -emit-module -emit-module-path %t/macos_module/ |
| 10 | +// RUN: %target-codesign %t/%target-library-name(availability_zippered) |
11 | 11 |
|
12 | 12 | // Emit just an macCatalyst module for use from an macCatalyst process
|
13 |
| -// RUN: %target-build-swift %S/Inputs/availability_zippered.swift -target x86_64-apple-ios13.1-macabi -emit-module -emit-module-path %t/maccatalyst_module/ |
| 13 | +// RUN: %target-build-swift %S/Inputs/availability_zippered.swift -target %target-cpu-apple-ios13.1-macabi -emit-module -emit-module-path %t/maccatalyst_module/ |
14 | 14 |
|
15 | 15 | // Build a macOS executable that calls into the library
|
16 |
| -// RUN: %target-build-swift -emit-executable -target x86_64-apple-macosx10.15 %s -lavailability_zippered -I %t/macos_module -L %t -o %t/a-macos.out |
| 16 | +// RUN: %target-build-swift -emit-executable -target %target-cpu-apple-macosx10.15 %s -lavailability_zippered -I %t/macos_module -L %t -o %t/a-macos.out |
17 | 17 | // RUN: %target-codesign %t/a-macos.out
|
18 | 18 |
|
19 | 19 | // Built an macCatalyst executable that calls into the library.
|
20 |
| -// RUN: %target-build-swift -target x86_64-apple-ios13.1-macabi %s -lavailability_zippered -I %t/maccatalyst_module -L %t -o %t/a-maccatalyst.out |
| 20 | +// RUN: %target-build-swift -target %target-cpu-apple-ios13.1-macabi %s -lavailability_zippered -I %t/maccatalyst_module -L %t -o %t/a-maccatalyst.out |
21 | 21 | // RUN: %target-codesign %t/a-maccatalyst.out
|
22 | 22 |
|
23 |
| -// RUN: %target-run %t/a-macos.out |
24 |
| -// RUN: %target-run %t/a-maccatalyst.out |
| 23 | +// RUN: %target-run %t/a-macos.out %t/%target-library-name(availability_zippered) |
| 24 | +// RUN: %target-run %t/a-maccatalyst.out %t/%target-library-name(availability_zippered) |
25 | 25 |
|
26 | 26 | // REQUIRES: executable_test
|
27 | 27 | // REQUIRES: maccatalyst_support
|
|
0 commit comments