Skip to content

Commit a6c9887

Browse files
Merge pull request #70530 from cachemeifyoucan/eng/PR-no-swift-target-frontend
2 parents 9db866f + 407674e commit a6c9887

10 files changed

+16
-16
lines changed

test/IRGen/enum_large.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %swift-target-frontend -emit-irgen %s | %FileCheck %s
1+
// RUN: %target-swift-frontend -emit-irgen %s | %FileCheck %s
22

33
// REQUIRES: PTRSIZE=64
44

test/IRGen/static-serialization.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// RUN: %empty-directory(%t)
2-
// RUN: %swift-target-frontend -static -emit-module -emit-module-path %t/StaticLibrary.swiftmodule -module-name StaticLibrary -DSTATIC_LIBRARY %s
3-
// RUN: %swift-target-frontend -I%t -S %s -emit-ir -o - | %FileCheck %s
2+
// RUN: %target-swift-frontend -static -emit-module -emit-module-path %t/StaticLibrary.swiftmodule -module-name StaticLibrary -DSTATIC_LIBRARY %s
3+
// RUN: %target-swift-frontend -I%t -S %s -emit-ir -o - | %FileCheck %s
44

55
#if STATIC_LIBRARY
66
public final class S {

test/IRGen/static-vtable-stubs.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// RUN: %empty-directory(%t)
22
// RUN: split-file --leading-lines %s %t
3-
// RUN: %swift-target-frontend -disable-availability-checking -parse-as-library -static -O -module-name M -c -primary-file %t/A.swift %t/B.swift -S -emit-ir -o - | %FileCheck %t/A.swift -check-prefix CHECK
4-
// RUN: %swift-target-frontend -disable-availability-checking -parse-as-library -static -O -module-name M -c %t/A.swift -primary-file %t/B.swift -S -emit-ir -o - | %FileCheck %t/B.swift -check-prefix CHECK
3+
// RUN: %target-swift-frontend -disable-availability-checking -parse-as-library -static -O -module-name M -c -primary-file %t/A.swift %t/B.swift -S -emit-ir -o - | %FileCheck %t/A.swift -check-prefix CHECK
4+
// RUN: %target-swift-frontend -disable-availability-checking -parse-as-library -static -O -module-name M -c %t/A.swift -primary-file %t/B.swift -S -emit-ir -o - | %FileCheck %t/B.swift -check-prefix CHECK
55

66
// Verify that we can link successfully.
77
// RUN: %target-build-swift -Xfrontend -disable-availability-checking -O %t/A.swift %t/B.swift -o %t/a.out

test/Macros/extension_macro_plugin.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// RUN: %S/Inputs/syntax_macro_definitions.swift \
1313
// RUN: -g -no-toolchain-stdlib-rpath
1414

15-
// RUN: env SWIFT_DUMP_PLUGIN_MESSAGING=1 %swift-target-frontend \
15+
// RUN: env SWIFT_DUMP_PLUGIN_MESSAGING=1 %target-swift-frontend \
1616
// RUN: -typecheck -verify \
1717
// RUN: -swift-version 5 \
1818
// RUN: -external-plugin-path %t/plugins#%swift-plugin-server \

test/Macros/macro_plugin_basic.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
// RUN: %swift-build-c-plugin -o %t/mock-plugin %t/plugin.c
77

8-
// RUN: env SWIFT_DUMP_PLUGIN_MESSAGING=1 %swift-target-frontend \
8+
// RUN: env SWIFT_DUMP_PLUGIN_MESSAGING=1 %target-swift-frontend \
99
// RUN: -typecheck -verify \
1010
// RUN: -swift-version 5 \
1111
// RUN: -load-plugin-executable %t/mock-plugin#TestPlugin \
@@ -15,7 +15,7 @@
1515

1616
// RUN: %FileCheck -strict-whitespace %s < %t/macro-expansions.txt
1717

18-
// RUN: not %swift-target-frontend \
18+
// RUN: not %target-swift-frontend \
1919
// RUN: -typecheck \
2020
// RUN: -swift-version 5 \
2121
// RUN: -load-plugin-executable %t/mock-plugin#TestPlugin \

test/Macros/macro_plugin_broken.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// RUN: -module-name=TestPlugin \
99
// RUN: %t/broken_plugin.swift
1010

11-
// RUN: not %swift-target-frontend \
11+
// RUN: not %target-swift-frontend \
1212
// RUN: -typecheck \
1313
// RUN: -swift-version 5 -enable-experimental-feature Macros \
1414
// RUN: -load-plugin-executable %t/broken-plugin#TestPlugin \

test/Macros/macro_plugin_broken_shlib.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
// RUN: touch %t/plugins/libTestPlugin.dylib
99

10-
// RUN: not %swift-target-frontend \
10+
// RUN: not %target-swift-frontend \
1111
// RUN: -typecheck \
1212
// RUN: -swift-version 5 \
1313
// RUN: -external-plugin-path %t/plugins#%swift-plugin-server \
@@ -23,7 +23,7 @@
2323
// SERVER: test.swift:1:33: note: 'fooMacro' declared here
2424
// SERVER-NOT: {{error|warning}}
2525

26-
// RUN: not %swift-target-frontend \
26+
// RUN: not %target-swift-frontend \
2727
// RUN: -typecheck \
2828
// RUN: -swift-version 5 \
2929
// RUN: -plugin-path %t/plugins \

test/Macros/macro_plugin_disable_sandbox.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
//== Nested sandbox. Expected to fail because sandbox-exec doesn't support nested sandboxing.
2323
// RUN: not sandbox-exec -p '(version 1)(allow default)' \
24-
// RUN: %swift-target-frontend \
24+
// RUN: %target-swift-frontend \
2525
// RUN: -typecheck -verify \
2626
// RUN: -swift-version 5 \
2727
// RUN: -external-plugin-path %t/plugins#%swift-plugin-server \
@@ -31,7 +31,7 @@
3131

3232
//== Avoid nested sandbox by -disable-sandbox
3333
// RUN: sandbox-exec -p '(version 1)(allow default)' \
34-
// RUN: %swift-target-frontend \
34+
// RUN: %target-swift-frontend \
3535
// RUN: -disable-sandbox \
3636
// RUN: -typecheck -verify \
3737
// RUN: -swift-version 5 \

test/Macros/macro_plugin_error.swift

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

66
// RUN: %swift-build-c-plugin -o %t/mock-plugin %t/plugin.c
77

8-
// RUN: env SWIFT_DUMP_PLUGIN_MESSAGING=1 %swift-target-frontend \
8+
// RUN: env SWIFT_DUMP_PLUGIN_MESSAGING=1 %target-swift-frontend \
99
// RUN: -typecheck -verify \
1010
// RUN: -swift-version 5 -enable-experimental-feature Macros \
1111
// RUN: -load-plugin-executable %t/mock-plugin#TestPlugin \

test/Macros/macro_plugin_server.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
// RUN: %S/Inputs/evil_macro_definitions.swift \
2121
// RUN: -g -no-toolchain-stdlib-rpath
2222

23-
// RUN: env SWIFT_DUMP_PLUGIN_MESSAGING=1 %swift-target-frontend \
23+
// RUN: env SWIFT_DUMP_PLUGIN_MESSAGING=1 %target-swift-frontend \
2424
// RUN: -typecheck -verify \
2525
// RUN: -swift-version 5 -enable-experimental-feature Macros \
2626
// RUN: -external-plugin-path %t/plugins#%swift-plugin-server \
@@ -31,7 +31,7 @@
3131

3232
// RUN: %FileCheck -strict-whitespace %s < %t/macro-expansions.txt
3333

34-
// RUN: not %swift-target-frontend \
34+
// RUN: not %target-swift-frontend \
3535
// RUN: -typecheck \
3636
// RUN: -swift-version 5 \
3737
// RUN: -external-plugin-path %t/plugins#%swift-plugin-server \

0 commit comments

Comments
 (0)