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 1
1
// 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
+
2
12
// RUN: %{python} %S/Inputs/PrintResponseFile.py %target-swift-frontend -cache-compile-job -Rcache-compile-job %s \
3
13
// 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
5
15
6
16
// RUN: %swift-scan-test -action compute_cache_key -cas-path %t/cas -input %s -- %swift_frontend_plain @%t/cmd.resp > %t/key.casid
7
17
17
27
18
28
// RUN: %{python} %S/Inputs/PrintResponseFile.py %target-swift-frontend -cache-compile-job -Rcache-compile-job %s \
19
29
// 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
21
31
// RUN: %swift-scan-test -action replay_result -cas-path %t/cas -id @%t/key.casid -- %swift_frontend_plain @%t/cmd2.resp
22
32
23
33
// RUN: diff %t/Test.swiftmodule %t/Test2.swiftmodule
You can’t perform that action at this time.
0 commit comments