|
17 | 17 | // RUN: %target-codesign %t/main
|
18 | 18 | // RUN: %target-run %t/main %t/deps.json
|
19 | 19 |
|
20 |
| -// RUN: mkdir -p %t/BuildModules |
21 |
| -// RUN: cp %S/Inputs/BuildModulesFromGraph.swift %t/BuildModules/main.swift |
22 |
| -// RUN: %target-build-swift %S/Inputs/ModuleDependencyGraph.swift %t/BuildModules/main.swift -o %t/ModuleBuilder |
23 |
| -// RUN: %target-codesign %t/ModuleBuilder |
24 |
| - |
25 |
| -// RUN: %target-run %t/ModuleBuilder %t/deps.json %swift-path SwiftShims.pcm -o %t/clang-module-cache/SwiftShims.pcm | %S/Inputs/CommandRunner.py |
26 |
| -// RUN: ls %t/clang-module-cache/SwiftShims.pcm |
27 |
| -// RUN: %target-run %t/ModuleBuilder %t/deps.json %swift-path A.pcm -o %t/clang-module-cache/A.pcm | %S/Inputs/CommandRunner.py |
28 |
| -// RUN: ls %t/clang-module-cache/A.pcm |
29 |
| -// RUN: %target-run %t/ModuleBuilder %t/deps.json %swift-path B.pcm -o %t/clang-module-cache/B.pcm -Xcc -Xclang -Xcc -fmodule-map-file=%S/Inputs/CHeaders/module.modulemap -Xcc -Xclang -Xcc -fmodule-file=%t/clang-module-cache/A.pcm | %S/Inputs/CommandRunner.py |
30 |
| -// RUN: ls %t/clang-module-cache/B.pcm |
31 |
| -// RUN: %target-run %t/ModuleBuilder %t/deps.json %swift-path C.pcm -o %t/clang-module-cache/C.pcm -Xcc -Xclang -Xcc -fmodule-map-file=%S/Inputs/CHeaders/module.modulemap -Xcc -Xclang -Xcc -fmodule-file=%t/clang-module-cache/B.pcm | %S/Inputs/CommandRunner.py |
32 |
| -// RUN: ls %t/clang-module-cache/C.pcm |
33 |
| - |
34 |
| -// RUN: %target-run %t/ModuleBuilder %t/deps.json %swift-path A.swiftmodule -o %t/clang-module-cache/A.swiftmodule -Xcc -Xclang -Xcc -fmodule-map-file=%S/Inputs/CHeaders/module.modulemap -Xcc -Xclang -Xcc -fmodule-file=%t/clang-module-cache/A.pcm -Xcc -Xclang -Xcc -fmodule-file=%t/clang-module-cache/SwiftShims.pcm | %S/Inputs/CommandRunner.py |
35 |
| -// RUN: ls %t/clang-module-cache/A.swiftmodule |
36 |
| - |
37 |
| -// RUN: %target-run %t/ModuleBuilder %t/deps.json %swift-path E.swiftmodule -o %t/clang-module-cache/E.swiftmodule -Xcc -Xclang -Xcc -fmodule-map-file=%S/Inputs/CHeaders/module.modulemap -Xcc -Xclang -Xcc -fmodule-file=%t/clang-module-cache/SwiftShims.pcm | %S/Inputs/CommandRunner.py |
38 |
| -// RUN: ls %t/clang-module-cache/E.swiftmodule |
39 |
| - |
40 |
| -// RUN: %target-run %t/ModuleBuilder %t/deps.json %swift-path SubE.swiftmodule -o %t/clang-module-cache/SubE.swiftmodule -Xcc -Xclang -Xcc -fmodule-map-file=%S/Inputs/CHeaders/module.modulemap -Xcc -Xclang -Xcc -fmodule-file=%t/clang-module-cache/SwiftShims.pcm -swift-module-file %t/clang-module-cache/E.swiftmodule | %S/Inputs/CommandRunner.py |
41 |
| -// RUN: ls %t/clang-module-cache/SubE.swiftmodule |
42 |
| - |
43 | 20 | // REQUIRES: executable_test
|
44 | 21 | // REQUIRES: objc_interop
|
45 | 22 |
|
|
0 commit comments