File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed
Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change 11// RUN: %empty-directory(%t)
2+
3+ // RUN: %target-swift-frontend -scan-dependencies -module-name Test -O \
4+ // RUN: -disable-implicit-string-processing-module-import -disable-implicit-concurrency-module-import -parse-stdlib \
5+ // RUN: %s -o %t/deps.json -swift-version 5 -cache-compile-job -cas-path %t/cas
6+
7+ // RUN: %{python} %S/Inputs/BuildCommandExtractor.py %t/deps.json Test > %t/MyApp.cmd
8+ // RUN: echo "\"-disable-implicit-string-processing-module-import\"" >> %t/MyApp.cmd
9+ // RUN: echo "\"-disable-implicit-concurrency-module-import\"" >> %t/MyApp.cmd
10+ // RUN: echo "\"-parse-stdlib\"" >> %t/MyApp.cmd
11+
212// RUN: %{python} %S/Inputs/PrintResponseFile.py %target-swift-frontend -cache-compile-job -Rcache-compile-job %s \
313// RUN: -emit-module -emit-module-path %t/Test.swiftmodule -c -emit-dependencies -module-name Test -o %t/test.o -cas-path %t/cas \
4- // RUN: -allow-unstable-cache-key-for-testing > %t/cmd.resp
14+ // RUN: @%t/MyApp.cmd > %t/cmd.resp
515
616// RUN: %swift-scan-test -action compute_cache_key -cas-path %t/cas -input %s -- %swift_frontend_plain @%t/cmd.resp > %t/key.casid
717
1727
1828// RUN: %{python} %S/Inputs/PrintResponseFile.py %target-swift-frontend -cache-compile-job -Rcache-compile-job %s \
1929// RUN: -emit-module -emit-module-path %t/Test2.swiftmodule -c -emit-dependencies -module-name Test -o %t/test.o -cas-path %t/cas \
20- // RUN: -allow-unstable-cache-key-for-testing > %t/cmd2.resp
30+ // RUN: @%t/MyApp.cmd > %t/cmd2.resp
2131// RUN: %swift-scan-test -action replay_result -cas-path %t/cas -id @%t/key.casid -- %swift_frontend_plain @%t/cmd2.resp
2232
2333// RUN: diff %t/Test.swiftmodule %t/Test2.swiftmodule
You can’t perform that action at this time.
0 commit comments