Skip to content

Commit e391bf5

Browse files
authored
Merge pull request #85960 from compnerd/plain-frontend
test: introduce swift-target-frontend-plain for CAS tests
2 parents 96cd2e1 + 3a4cd07 commit e391bf5

39 files changed

+173
-127
lines changed

test/CAS/Xcc_args.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
// CHECK-NOT: -ivfsoverlay
2020
// CHECK-NOT: -fmodule-map-file
2121

22-
// RUN: %target-swift-frontend \
22+
// RUN: %target-swift-frontend-plain \
2323
// RUN: -typecheck -cache-compile-job -cas-path %t/cas \
2424
// RUN: -swift-version 5 -module-name Test \
2525
// RUN: -disable-implicit-string-processing-module-import -disable-implicit-concurrency-module-import \

test/CAS/Xcc_objc_direct.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
// RUN: %{python} %S/../../utils/swift-build-modules.py --cas %t/cas %swift_frontend_plain %t/deps.json -o %t/MyApp.cmd
1111

12-
// RUN: %target-swift-frontend \
12+
// RUN: %target-swift-frontend-plain \
1313
// RUN: -typecheck -cache-compile-job -cas-path %t/cas \
1414
// RUN: -swift-version 5 -module-name Test \
1515
// RUN: -disable-implicit-string-processing-module-import -disable-implicit-concurrency-module-import \

test/CAS/block-list.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
// FS-DAG: blocklist.yml
2323
// FS-DAG: empty.yml
2424

25-
// RUN: %target-swift-frontend \
25+
// RUN: %target-swift-frontend-plain \
2626
// RUN: -target %target-future-triple \
2727
// RUN: -emit-ir -o - -cache-compile-job -cas-path %t/cas -O \
2828
// RUN: -swift-version 5 -module-name Test \

test/CAS/bridging-header-prefix-map.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@
2727

2828
// RUN: %{python} %S/../../utils/swift-build-modules.py --cas %t/cas %swift_frontend_plain %t/deps-1.json -o %t/MyApp.cmd -b %t/header.cmd
2929

30-
// RUN: %target-swift-frontend @%t/header.cmd /^header/Bridging.h -disable-implicit-swift-modules -O -o %t/bridging.pch
30+
// RUN: %target-swift-frontend-plain @%t/header.cmd /^header/Bridging.h -disable-implicit-swift-modules -O -o %t/bridging.pch
3131
// RUN: %cache-tool -cas-path %t/cas -cache-tool-action print-output-keys -- \
32-
// RUN: %target-swift-frontend @%t/header.cmd /^header/Bridging.h -disable-implicit-swift-modules -O -o %t/bridging.pch > %t/keys.json
32+
// RUN: %target-swift-frontend-plain @%t/header.cmd /^header/Bridging.h -disable-implicit-swift-modules -O -o %t/bridging.pch > %t/keys.json
3333
// RUN: %{python} %S/Inputs/ExtractOutputKey.py %t/keys.json > %t/key
3434

3535
// RUN: echo "\"-disable-implicit-string-processing-module-import\"" >> %t/MyApp.cmd
@@ -40,10 +40,10 @@
4040
// RUN: echo "\"%t/bridging.pch\"" >> %t/MyApp.cmd
4141
// RUN: echo "\"-bridging-header-pch-key\"" >> %t/MyApp.cmd
4242
// RUN: echo "\"@%t/key\"" >> %t/MyApp.cmd
43-
// RUN: %target-swift-frontend -cache-compile-job -module-name Test -O -cas-path %t/cas @%t/MyApp.cmd /^tmp/test.swift \
43+
// RUN: %target-swift-frontend-plain -cache-compile-job -module-name Test -O -cas-path %t/cas @%t/MyApp.cmd /^tmp/test.swift \
4444
// RUN: -emit-module -o %t/Test.swiftmodule
4545

46-
// RUN: %target-swift-frontend -scan-dependencies -module-name User -module-cache-path %t/clang-module-cache -O \
46+
// RUN: %target-swift-frontend-plain -scan-dependencies -module-name User -module-cache-path %t/clang-module-cache -O \
4747
// RUN: -disable-implicit-string-processing-module-import -disable-implicit-concurrency-module-import \
4848
// RUN: %t/user.swift -o %t/deps-3.json -auto-bridging-header-chaining -cache-compile-job -cas-path %t/cas \
4949
// RUN: -scanner-prefix-map-paths %swift_src_root /^src -scanner-prefix-map-paths %t /^tmp \

test/CAS/cache_key_compute.swift

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,16 @@
2222

2323
/// Check few working cases.
2424
// RUN: %cache-tool -cas-path %t/cas -cache-tool-action print-base-key -- \
25-
// RUN: %target-swift-frontend -cache-compile-job %t/a.swift -c @%t/MyApp.cmd > %t1.casid
25+
// RUN: %target-swift-frontend-plain -cache-compile-job %t/a.swift -c @%t/MyApp.cmd > %t1.casid
2626
/// A different CAS doesn't affect base key.
2727
// RUN: %cache-tool -cas-path %t/cas -cache-tool-action print-base-key -- \
28-
// RUN: %target-swift-frontend -cache-compile-job %t/a.swift -c @%t/MyApp.cmd -cas-path %t > %t2.casid
28+
// RUN: %target-swift-frontend-plain -cache-compile-job %t/a.swift -c @%t/MyApp.cmd -cas-path %t > %t2.casid
2929
/// Output path doesn't affect base key.
3030
// RUN: %cache-tool -cas-path %t/cas -cache-tool-action print-base-key -- \
31-
// RUN: %target-swift-frontend -cache-compile-job %t/a.swift -c @%t/MyApp.cmd -o %t/test.o > %t3.casid
31+
// RUN: %target-swift-frontend-plain -cache-compile-job %t/a.swift -c @%t/MyApp.cmd -o %t/test.o > %t3.casid
3232
/// Add -D will change.
3333
// RUN: %cache-tool -cas-path %t/cas -cache-tool-action print-base-key -- \
34-
// RUN: %target-swift-frontend -cache-compile-job %t/a.swift -c @%t/MyApp.cmd -DTEST > %t4.casid
34+
// RUN: %target-swift-frontend-plain -cache-compile-job %t/a.swift -c @%t/MyApp.cmd -DTEST > %t4.casid
3535

3636
// RUN: diff %t1.casid %t2.casid
3737
// RUN: diff %t1.casid %t3.casid
@@ -42,21 +42,21 @@
4242
// RUN: echo "%t/a.swift" > %t/filelist-2
4343
// RUN: echo "%t/b.swift" > %t/filelist-3
4444
// RUN: %cache-tool -cas-path %t/cas -cache-tool-action print-base-key -- \
45-
// RUN: %target-swift-frontend -cache-compile-job -filelist %t/filelist-1 -c @%t/MyApp.cmd > %t5.casid
45+
// RUN: %target-swift-frontend-plain -cache-compile-job -filelist %t/filelist-1 -c @%t/MyApp.cmd > %t5.casid
4646
// RUN: %cache-tool -cas-path %t/cas -cache-tool-action print-base-key -- \
47-
// RUN: %target-swift-frontend -cache-compile-job -filelist %t/filelist-2 -c @%t/MyApp.cmd > %t6.casid
47+
// RUN: %target-swift-frontend-plain -cache-compile-job -filelist %t/filelist-2 -c @%t/MyApp.cmd > %t6.casid
4848
// RUN: %cache-tool -cas-path %t/cas -cache-tool-action print-base-key -- \
49-
// RUN: %target-swift-frontend -cache-compile-job -filelist %t/filelist-3 -c @%t/MyApp.cmd > %t7.casid
49+
// RUN: %target-swift-frontend-plain -cache-compile-job -filelist %t/filelist-3 -c @%t/MyApp.cmd > %t7.casid
5050
// RUN: diff %t5.casid %t6.casid
5151
// RUN: not diff %t5.casid %t7.casid
5252

5353
/// Test output keys.
5454
// RUN: %cache-tool -cas-path %t/cas -cache-tool-action print-output-keys -- \
55-
// RUN: %target-swift-frontend -cache-compile-job %t/a.swift -emit-module -c -emit-dependencies \
55+
// RUN: %target-swift-frontend-plain -cache-compile-job %t/a.swift -emit-module -c -emit-dependencies \
5656
// RUN: -emit-tbd -emit-tbd-path %t/test.tbd -o %t/test.o @%t/MyApp.cmd | %FileCheck %s
5757

5858
/// Test plugin CAS.
59-
// RUN: %target-swift-frontend -scan-dependencies -module-name Test -O \
59+
// RUN: %target-swift-frontend-plain -scan-dependencies -module-name Test -O \
6060
// RUN: -disable-implicit-string-processing-module-import -disable-implicit-concurrency-module-import -parse-stdlib \
6161
// RUN: %t/a.swift -o %t/plugin_deps.json -cache-compile-job -cas-path %t/cas-plugin -cas-plugin-path %plugin(CASPluginTest) \
6262
// RUN: -cas-plugin-option first-prefix=myfirst-
@@ -67,7 +67,7 @@
6767
// RUN: %{python} %S/Inputs/BuildCommandExtractor.py %t/plugin_deps.json Test > %t/plugin_MyApp.cmd
6868
// RUN: %cache-tool -cas-path %t/cas-plugin -cas-plugin-path %plugin(CASPluginTest) \
6969
// RUN: -cas-plugin-option first-prefix=myfirst- -cache-tool-action print-output-keys -- \
70-
// RUN: %target-swift-frontend -cache-compile-job %t/a.swift -emit-module -c -emit-dependencies \
70+
// RUN: %target-swift-frontend-plain -cache-compile-job %t/a.swift -emit-module -c -emit-dependencies \
7171
// RUN: -disable-implicit-string-processing-module-import -disable-implicit-concurrency-module-import -parse-stdlib \
7272
// RUN: -emit-tbd -emit-tbd-path %t/test.tbd -o %t/test.o @%t/plugin_MyApp.cmd | %FileCheck %s --check-prefix=CHECK --check-prefix=PLUGIN
7373

@@ -78,10 +78,10 @@
7878

7979
/// Check switching CAS plugin path.
8080
// RUN: %cache-tool -cas-path %t/cas-plugin -cas-plugin-path %plugin(CASPluginTest) -cas-plugin-option first-prefix=myfirst- -cache-tool-action print-base-key -- \
81-
// RUN: %target-swift-frontend -cache-compile-job %t/a.swift -c @%t/MyApp-plugin.cmd -cas-path %t/cas-plugin -cas-plugin-path %plugin(CASPluginTest) > %t8.casid
81+
// RUN: %target-swift-frontend-plain -cache-compile-job %t/a.swift -c @%t/MyApp-plugin.cmd -cas-path %t/cas-plugin -cas-plugin-path %plugin(CASPluginTest) > %t8.casid
8282
// RUN: cp %plugin(CASPluginTest) %t/libCASPluginTest%llvm_plugin_ext
8383
// RUN: %cache-tool -cas-path %t/cas-plugin -cas-plugin-path %t/libCASPluginTest%llvm_plugin_ext -cas-plugin-option first-prefix=myfirst- -cache-tool-action print-base-key -- \
84-
// RUN: %target-swift-frontend -cache-compile-job %t/a.swift -c @%t/MyApp-plugin.cmd -cas-path %t/cas-plugin -cas-plugin-path %t/libCASPluginTest%llvm_plugin_ext > %t9.casid
84+
// RUN: %target-swift-frontend-plain -cache-compile-job %t/a.swift -c @%t/MyApp-plugin.cmd -cas-path %t/cas-plugin -cas-plugin-path %t/libCASPluginTest%llvm_plugin_ext > %t9.casid
8585
// RUN: diff %t8.casid %t9.casid
8686

8787

test/CAS/cache_replay.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,23 +22,23 @@
2222
// RUN: echo "\"@%t/map.casid\"" >> %t/MyApp.cmd
2323

2424
/// Run the command first time, expect cache miss.
25-
// RUN: %target-swift-frontend -cache-compile-job -Rcache-compile-job %t/test.swift -O -emit-module -emit-module-path %t/Test.swiftmodule -c -emit-dependencies \
25+
// RUN: %target-swift-frontend-plain -cache-compile-job -Rcache-compile-job %t/test.swift -O -emit-module -emit-module-path %t/Test.swiftmodule -c -emit-dependencies \
2626
// RUN: -module-name Test -o %t/test.o -cas-path %t/cas @%t/MyApp.cmd 2>&1 | %FileCheck --check-prefix=CACHE-MISS %s
2727

2828
/// Expect cache hit for second time.
29-
// RUN: %target-swift-frontend -cache-compile-job -Rcache-compile-job %t/test.swift -O -emit-module -emit-module-path %t/Test.swiftmodule -c -emit-dependencies \
29+
// RUN: %target-swift-frontend-plain -cache-compile-job -Rcache-compile-job %t/test.swift -O -emit-module -emit-module-path %t/Test.swiftmodule -c -emit-dependencies \
3030
// RUN: -module-name Test -o %t/test.o -cas-path %t/cas @%t/MyApp.cmd 2>&1 | %FileCheck --check-prefix=CACHE-HIT %s
3131

3232
/// Expect cache miss a subset of outputs.
33-
// RUN: %target-swift-frontend -cache-compile-job -Rcache-compile-job %t/test.swift -O -emit-module -emit-module-path %t/Test.swiftmodule -c \
33+
// RUN: %target-swift-frontend-plain -cache-compile-job -Rcache-compile-job %t/test.swift -O -emit-module -emit-module-path %t/Test.swiftmodule -c \
3434
// RUN: -module-name Test -o %t/test.o -cas-path %t/cas @%t/MyApp.cmd 2>&1 | %FileCheck --check-prefix=CACHE-MISS %s
3535

3636
/// Cache hit for retry.
37-
// RUN: %target-swift-frontend -cache-compile-job -Rcache-compile-job %t/test.swift -O -emit-module -emit-module-path %t/Test.swiftmodule -c \
37+
// RUN: %target-swift-frontend-plain -cache-compile-job -Rcache-compile-job %t/test.swift -O -emit-module -emit-module-path %t/Test.swiftmodule -c \
3838
// RUN: -module-name Test -o %t/test.o -cas-path %t/cas @%t/MyApp.cmd 2>&1 | %FileCheck --check-prefix=CACHE-HIT %s
3939

4040
/// Skip cache
41-
// RUN: %target-swift-frontend -cache-compile-job -Rcache-compile-job -cache-disable-replay %t/test.swift -O -emit-module -emit-module-path %t/Test.swiftmodule -c \
41+
// RUN: %target-swift-frontend-plain -cache-compile-job -Rcache-compile-job -cache-disable-replay %t/test.swift -O -emit-module -emit-module-path %t/Test.swiftmodule -c \
4242
// RUN: -module-name Test -o %t/test.o -cas-path %t/cas @%t/MyApp.cmd 2>&1 | %FileCheck --allow-empty --check-prefix=SKIP-CACHE %s
4343

4444
// CACHE-MISS: remark: cache miss for input

test/CAS/cache_replay_multiple_files.swift

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,19 @@
1414
// RUN: echo "\"-parse-stdlib\"" >> %t/MyApp.cmd
1515

1616
/// Test compile multiple inputs with batch mode.
17-
// RUN: %target-swift-frontend -cache-compile-job -Rcache-compile-job %t/test.swift %t/foo.swift -emit-module -o %t/Test.swiftmodule \
17+
// RUN: %target-swift-frontend-plain -cache-compile-job -Rcache-compile-job %t/test.swift %t/foo.swift -emit-module -o %t/Test.swiftmodule \
1818
// RUN: -module-name Test -cas-path %t/cas @%t/MyApp.cmd 2>&1 | %FileCheck --check-prefix=CACHE-MISS %s
19-
// RUN: %target-swift-frontend -cache-compile-job -Rcache-compile-job -primary-file %t/test.swift %t/foo.swift -c -o %t/test.o \
19+
// RUN: %target-swift-frontend-plain -cache-compile-job -Rcache-compile-job -primary-file %t/test.swift %t/foo.swift -c -o %t/test.o \
2020
// RUN: -module-name Test -cas-path %t/cas @%t/MyApp.cmd 2>&1 | %FileCheck --check-prefix=CACHE-MISS %s
21-
// RUN: %target-swift-frontend -cache-compile-job -Rcache-compile-job %t/test.swift -primary-file %t/foo.swift -c -o %t/foo.o \
21+
// RUN: %target-swift-frontend-plain -cache-compile-job -Rcache-compile-job %t/test.swift -primary-file %t/foo.swift -c -o %t/foo.o \
2222
// RUN: -module-name Test -cas-path %t/cas @%t/MyApp.cmd 2>&1 | %FileCheck --check-prefix=CACHE-MISS %s
2323

2424
/// Expect cache hit second time
25-
// RUN: %target-swift-frontend -cache-compile-job -Rcache-compile-job %t/test.swift %t/foo.swift -emit-module -o %t/Test.swiftmodule \
25+
// RUN: %target-swift-frontend-plain -cache-compile-job -Rcache-compile-job %t/test.swift %t/foo.swift -emit-module -o %t/Test.swiftmodule \
2626
// RUN: -module-name Test -cas-path %t/cas @%t/MyApp.cmd 2>&1 | %FileCheck --check-prefix=CACHE-HIT %s
27-
// RUN: %target-swift-frontend -cache-compile-job -Rcache-compile-job -primary-file %t/test.swift %t/foo.swift -c -o %t/test.o \
27+
// RUN: %target-swift-frontend-plain -cache-compile-job -Rcache-compile-job -primary-file %t/test.swift %t/foo.swift -c -o %t/test.o \
2828
// RUN: -module-name Test -cas-path %t/cas @%t/MyApp.cmd 2>&1 | %FileCheck --check-prefix=CACHE-HIT %s
29-
// RUN: %target-swift-frontend -cache-compile-job -Rcache-compile-job %t/test.swift -primary-file %t/foo.swift -c -o %t/foo.o \
29+
// RUN: %target-swift-frontend-plain -cache-compile-job -Rcache-compile-job %t/test.swift -primary-file %t/foo.swift -c -o %t/foo.o \
3030
// RUN: -module-name Test -cas-path %t/cas @%t/MyApp.cmd 2>&1 | %FileCheck --check-prefix=CACHE-HIT %s
3131

3232
//--- test.swift

test/CAS/cached_diagnostics.swift

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66

77
// RUN: %{python} %S/../../utils/swift-build-modules.py --cas %t/cas %swift_frontend_plain %t/deps.json -o %t/MyApp.cmd -b %t/header.cmd
88

9-
// RUN: %target-swift-frontend @%t/header.cmd %S/Inputs/objc.h -disable-implicit-swift-modules -O -o %t/objc.pch 2>&1 | %FileCheck %s -check-prefix CHECK-BRIDGE
9+
// RUN: %target-swift-frontend-plain @%t/header.cmd %S/Inputs/objc.h -disable-implicit-swift-modules -O -o %t/objc.pch 2>&1 | %FileCheck %s -check-prefix CHECK-BRIDGE
1010
// RUN: %cache-tool -cas-path %t/cas -cache-tool-action print-output-keys -- \
11-
// RUN: %target-swift-frontend @%t/header.cmd %S/Inputs/objc.h -disable-implicit-swift-modules -O -o %t/objc.pch > %t/keys.json
11+
// RUN: %target-swift-frontend-plain @%t/header.cmd %S/Inputs/objc.h -disable-implicit-swift-modules -O -o %t/objc.pch > %t/keys.json
1212
// RUN: %{python} %S/Inputs/ExtractOutputKey.py %t/keys.json > %t/key
1313

1414
// RUN: echo "\"-disable-implicit-string-processing-module-import\"" >> %t/MyApp.cmd
@@ -18,11 +18,13 @@
1818
// RUN: echo "\"-bridging-header-pch-key\"" >> %t/MyApp.cmd
1919
// RUN: echo "\"@%t/key\"" >> %t/MyApp.cmd
2020

21-
// RUN: %target-swift-frontend -cache-compile-job -module-name Test -O -cas-path %t/cas @%t/MyApp.cmd %s \
21+
// RUN: %target-swift-frontend-plain -cache-compile-job -module-name Test -O -cas-path %t/cas @%t/MyApp.cmd %s \
2222
// RUN: -emit-module -o %t/test.swiftmodule 2>&1 | %FileCheck %s
23-
// RUN: %cache-tool -cas-path %t/cas -cache-tool-action print-output-keys -- %target-swift-frontend -cache-compile-job -module-name Test -O -cas-path %t/cas @%t/MyApp.cmd %s \
23+
// RUN: %cache-tool -cas-path %t/cas -cache-tool-action print-output-keys -- \
24+
// RUN: %target-swift-frontend-plain -cache-compile-job -module-name Test -O -cas-path %t/cas @%t/MyApp.cmd %s \
2425
// RUN: -emit-module -o %t/test.swiftmodule > %t/cache_key.json
25-
// RUN: %cache-tool -cas-path %t/cas -cache-tool-action render-diags %t/cache_key.json -- %target-swift-frontend -cache-compile-job -module-name Test -O -cas-path %t/cas @%t/MyApp.cmd %s \
26+
// RUN: %cache-tool -cas-path %t/cas -cache-tool-action render-diags %t/cache_key.json -- \
27+
// RUN: %target-swift-frontend-plain -cache-compile-job -module-name Test -O -cas-path %t/cas @%t/MyApp.cmd %s \
2628
// RUN: -emit-module -o %t/test.swiftmodule 2>&1 | %FileCheck %s
2729

2830
#warning("this is a warning") // expected-warning {{this is a warning}}
@@ -40,16 +42,16 @@ let _ : MyEnum? = .none // expected-warning {{assuming you mean 'Optional<MyEnum
4042
// CHECK: warning: this is a warning
4143

4244
/// Check other DiagnosticConsumers.
43-
// RUN: %target-swift-frontend -c -cache-compile-job -module-name Test -O -cas-path %t/cas @%t/MyApp.cmd %s \
45+
// RUN: %target-swift-frontend-plain -c -cache-compile-job -module-name Test -O -cas-path %t/cas @%t/MyApp.cmd %s \
4446
// RUN: -typecheck -serialize-diagnostics -serialize-diagnostics-path %t/test.diag -verify
4547
// RUN: %FileCheck %s -check-prefix CHECK-SERIALIZED <%t/test.diag
4648

4749
/// Verify the serialized diags have the right magic at the top.
4850
// CHECK-SERIALIZED: DIA
4951

50-
// RUN: %target-swift-frontend -c -cache-compile-job -module-name Test -O -cas-path %t/cas @%t/MyApp.cmd %s \
52+
// RUN: %target-swift-frontend-plain -c -cache-compile-job -module-name Test -O -cas-path %t/cas @%t/MyApp.cmd %s \
5153
// RUN: -typecheck -serialize-diagnostics -serialize-diagnostics-path %t/test.diag -Rcache-compile-job 2>&1 | %FileCheck %s -check-prefix CACHE-MISS
52-
// RUN: %target-swift-frontend -c -cache-compile-job -module-name Test -O -cas-path %t/cas @%t/MyApp.cmd %s \
54+
// RUN: %target-swift-frontend-plain -c -cache-compile-job -module-name Test -O -cas-path %t/cas @%t/MyApp.cmd %s \
5355
// RUN: -typecheck -serialize-diagnostics -serialize-diagnostics-path %t/test.diag -Rcache-compile-job 2>&1 | %FileCheck %s -check-prefix CACHE-HIT
5456
// CACHE-MISS: remark: cache miss
5557
// CACHE-HIT: remark: replay output file '<cached-diagnostics>'

test/CAS/cached_diagnostics_macro.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
// RUN: %{python} %S/../../utils/swift-build-modules.py --cas %t/cas %swift_frontend_plain %t/deps.json -o %t/MyApp.cmd
2121

22-
// RUN: %target-swift-frontend -diagnostic-style=swift \
22+
// RUN: %target-swift-frontend-plain -diagnostic-style=swift \
2323
// RUN: -emit-module -o %t/Test.swiftmodule -cache-compile-job -cas-path %t/cas \
2424
// RUN: -swift-version 5 -module-name MyApp -O \
2525
// RUN: -external-plugin-path %t#%swift-plugin-server \

test/CAS/cached_diagnostics_pcm.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
// RUN: echo "\"-disable-implicit-string-processing-module-import\"" >> %t/MyApp.cmd
2323
// RUN: echo "\"-disable-implicit-concurrency-module-import\"" >> %t/MyApp.cmd
2424

25-
// RUN: %target-swift-frontend -cache-compile-job -module-name Test -O -cas-path %t/cas @%t/MyApp.cmd %t/test.swift \
25+
// RUN: %target-swift-frontend-plain -cache-compile-job -module-name Test -O -cas-path %t/cas @%t/MyApp.cmd %t/test.swift \
2626
// RUN: -emit-module -o %t/test.swiftmodule
2727

2828
//--- module.modulemap

0 commit comments

Comments
 (0)