|
7 | 7 | /// Create a module Bar |
8 | 8 | // RUN: echo 'public func bar() {}' > %t/inputs/FileBar.swift |
9 | 9 | // RUN: %target-swift-frontend -module-name Bar %t/inputs/FileBar.swift -emit-module -emit-module-path %t/inputs/Bar.swiftmodule |
10 | | -// RUN: %target-swift-emit-pcm -module-name SwiftShims %swift_obj_root/lib/swift/shims/module.modulemap -o %t/inputs/SwiftShims.pcm |
11 | | -// RUN: %target-swift-emit-pcm -module-name _SwiftConcurrencyShims %swift_obj_root/lib/swift/shims/module.modulemap -o %t/inputs/_SwiftConcurrencyShims.pcm |
| 10 | +// RUN: %target-swift-emit-pcm -module-name SwiftShims %swift-lib-dir/swift/shims/module.modulemap -o %t/inputs/SwiftShims.pcm |
| 11 | +// RUN: %target-swift-emit-pcm -module-name _SwiftConcurrencyShims %swift-lib-dir/swift/shims/module.modulemap -o %t/inputs/_SwiftConcurrencyShims.pcm |
12 | 12 |
|
13 | 13 | /// Check Bar.swiftmodule is created |
14 | 14 | // RUN: test -f %t/inputs/Bar.swiftmodule |
|
39 | 39 | // RUN: echo "{" >> %/t/inputs/map.json |
40 | 40 | // RUN: echo "\"moduleName\": \"SwiftShims\"," >> %/t/inputs/map.json |
41 | 41 | // RUN: echo "\"isFramework\": false," >> %/t/inputs/map.json |
42 | | -// RUN: echo "\"clangModuleMapPath\": \"%swift_obj_root/lib/swift/shims/module.modulemap\"," >> %/t/inputs/map.json |
| 42 | +// RUN: echo "\"clangModuleMapPath\": \"%swift-lib-dir/swift/shims/module.modulemap\"," >> %/t/inputs/map.json |
43 | 43 | // RUN: echo "\"clangModulePath\": \"%t/inputs/SwiftShims.pcm\"" >> %/t/inputs/map.json |
44 | 44 | // RUN: echo "}," >> %/t/inputs/map.json |
45 | 45 | // RUN: echo "{" >> %/t/inputs/map.json |
46 | 46 | // RUN: echo "\"moduleName\": \"_SwiftConcurrencyShims\"," >> %/t/inputs/map.json |
47 | 47 | // RUN: echo "\"isFramework\": false," >> %/t/inputs/map.json |
48 | | -// RUN: echo "\"clangModuleMapPath\": \"%swift_obj_root/lib/swift/shims/module.modulemap\"," >> %/t/inputs/map.json |
| 48 | +// RUN: echo "\"clangModuleMapPath\": \"%swift-lib-dir/swift/shims/module.modulemap\"," >> %/t/inputs/map.json |
49 | 49 | // RUN: echo "\"clangModulePath\": \"%t/inputs/_SwiftConcurrencyShims.pcm\"" >> %/t/inputs/map.json |
50 | 50 | // RUN: echo "}," >> %/t/inputs/map.json |
51 | 51 | // RUN: echo "{" >> %/t/inputs/map.json |
|
0 commit comments