Skip to content

Commit 1134388

Browse files
authored
Merge f327011 into 1cb1546
2 parents 1cb1546 + f327011 commit 1134388

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/ScanDependencies/explicit-module-map-forwarding-module.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
// Step 2: build .swiftmodule from .swiftinterface and give the adjacent .swiftmodule as a candidate compiled module.
1111
// RUN: %target-swift-frontend -compile-module-from-interface %t/inputs/Foo.swiftinterface -o %t/inputs/Foo-from-interface.swiftmodule -module-name Foo -candidate-module-file %t/inputs/Foo.swiftmodule
1212

13-
// Step 3: the new .swiftmodule should be a fowarding module.
13+
// Step 3: the new .swiftmodule should be a forwarding module.
1414
// RUN: %{python} %S/../ModuleInterface/ModuleCache/Inputs/check-is-forwarding-module.py %t/inputs/Foo-from-interface.swiftmodule
1515

1616
// Step 4: using the forwarding module in explicit module map should be OK.

test/ScanDependencies/module_deps.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
// RUN: %target-swift-frontend -scan-dependencies -test-dependency-scan-cache-serialization -module-cache-path %t/clang-module-cache %s -o %t/deps.json -I %S/Inputs/CHeaders -I %S/Inputs/Swift -import-objc-header %S/Inputs/CHeaders/Bridging.h -swift-version 4
2525
// RUN: %FileCheck -check-prefix CHECK_NO_CLANG_TARGET %s < %t/deps.json
2626

27-
// Ensure that scanning with `-clang-target` makes sure that Swift modules' respecitve PCM-dependency-build-argument sets do not contain target triples.
27+
// Ensure that scanning with `-clang-target` makes sure that Swift modules' respective PCM-dependency-build-argument sets do not contain target triples.
2828
// RUN: %target-swift-frontend -scan-dependencies -module-cache-path %t/clang-module-cache %s -o %t/deps_clang_target.json -I %S/Inputs/CHeaders -I %S/Inputs/Swift -import-objc-header %S/Inputs/CHeaders/Bridging.h -swift-version 4 -clang-target %target-cpu-apple-macosx10.14
2929
// Check the contents of the JSON output
3030
// RUN: %FileCheck -check-prefix CHECK_CLANG_TARGET %s < %t/deps_clang_target.json

0 commit comments

Comments
 (0)