Skip to content

Commit c3ead5a

Browse files
committed
Test Only - Do not load Concurrency modile in batch_module_scan_versioned
It has a specific target (`x86_64`) and on other platforms, Concurrency will not be found with this architecture by default. e.g. Apple Silicon failure: https://ci.swift.org/job/swift-PR-macos-apple-silicon/78
1 parent 23452d5 commit c3ead5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/ScanDependencies/batch_module_scan_versioned.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
// RUN: echo "\"output\": \"%/t/outputs/G_109.pcm.json\"" >> %/t/inputs/input.json
1515
// RUN: echo "}]" >> %/t/inputs/input.json
1616

17-
// RUN: %target-swift-frontend -scan-dependencies -target x86_64-apple-macosx11.0 -module-cache-path %t/clang-module-cache %s -o %t/deps.json -I %S/Inputs/CHeaders -I %S/Inputs/Swift -emit-dependencies -emit-dependencies-path %t/deps.d -import-objc-header %S/Inputs/CHeaders/Bridging.h -swift-version 4 -batch-scan-input-file %/t/inputs/input.json
17+
// RUN: %target-swift-frontend -scan-dependencies -disable-implicit-concurrency-module-import -target x86_64-apple-macosx11.0 -module-cache-path %t/clang-module-cache %s -o %t/deps.json -I %S/Inputs/CHeaders -I %S/Inputs/Swift -emit-dependencies -emit-dependencies-path %t/deps.d -import-objc-header %S/Inputs/CHeaders/Bridging.h -swift-version 4 -batch-scan-input-file %/t/inputs/input.json
1818

1919
// Check the contents of the JSON output
2020
// RUN: %FileCheck %s -check-prefix=CHECK-PCM109 < %t/outputs/G_109.pcm.json

0 commit comments

Comments
 (0)