Skip to content

Commit 0aa6918

Browse files
committed
test: remove test cases for building modules explicitly
These tests are duplicates of those from swift-driver.
1 parent 00872ba commit 0aa6918

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

test/ScanDependencies/module_deps.swift

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -17,29 +17,6 @@
1717
// RUN: %target-codesign %t/main
1818
// RUN: %target-run %t/main %t/deps.json
1919

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-
4320
// REQUIRES: executable_test
4421
// REQUIRES: objc_interop
4522

0 commit comments

Comments
 (0)