Skip to content

Commit c4b0bae

Browse files
Use target-specific substitutions for target-specific RUN-lines (#79998)
Target-specific run-lines should use the respective target-specific substitutions
1 parent 3172730 commit c4b0bae

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

test/FixCode/batch-mode.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: not %swift -typecheck -target %target-triple -primary-file %s -emit-fixits-path %t.main.remap -primary-file %S/Inputs/batch-mode-helper.swift -emit-fixits-path %t.helper.remap
1+
// RUN: not %target-swift-frontend -typecheck -primary-file %s -emit-fixits-path %t.main.remap -primary-file %S/Inputs/batch-mode-helper.swift -emit-fixits-path %t.helper.remap
22
// RUN: %FileCheck -check-prefix=CHECK-MAIN %s < %t.main.remap
33
// RUN: %FileCheck -check-prefix=NEGATIVE-MAIN %s < %t.main.remap
44
// RUN: %FileCheck -check-prefix=CHECK-HELPER %s < %t.helper.remap

test/IDE/module_api_smoketest.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// RUN: %empty-directory(%t)
2-
// RUN: %swift-ide-test -generate-module-api-description -- -target %target-triple -module-cache-path %t %s | %FileCheck %s
2+
// RUN: %target-swift-ide-test -generate-module-api-description -module-cache-path %t %s | %FileCheck %s
33

44
public struct Struct1 {}
55

test/IDE/rdar141440011.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ public protocol MyProto {}
22
public struct MyStruct: MyProto {}
33

44
// RUN: %empty-directory(%t)
5-
// RUN: %swift -emit-module -o %t/swift_mod.swiftmodule %s -parse-as-library -experimental-skip-all-function-bodies -experimental-skip-non-exportable-decls -experimental-lazy-typecheck -target %target-triple
6-
// RUN: %target-swift-synthesize-interface -module-name swift_mod -I %t -o - -target %target-triple | %FileCheck %s
5+
// RUN: %target-swift-frontend -emit-module -o %t/swift_mod.swiftmodule %s -parse-as-library -experimental-skip-all-function-bodies -experimental-skip-non-exportable-decls -experimental-lazy-typecheck
6+
// RUN: %target-swift-synthesize-interface -module-name swift_mod -I %t -o - | %FileCheck %s
77

88
// CHECK: public struct MyStruct : swift_mod.MyProto

test/Sema/fixits-derived-conformances.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// RUN: %empty-directory(%t)
22
// RUN: %target-build-swift -emit-module -emit-library -module-name Types %S/Inputs/fixits-derived-conformances-multifile.swift -o %t/%target-library-name(Types)
3-
// RUN: %swift -typecheck -target %target-triple -I %t -verify %s
3+
// RUN: %target-typecheck-verify-swift %s -I %t
44

55
import Types
66

0 commit comments

Comments
 (0)