File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 1
- // RUN: not %swiftc_driver %S/Inputs/error.swift %s 2>&1 | %FileCheck %s
2
- // RUN: not %swiftc_driver -continue-building-after-errors %S/Inputs/error.swift %s 2>&1 | %FileCheck -check-prefix=CHECK-CONTINUE %s
1
+ // RUN: not %target-build-swift %S/Inputs/error.swift %s 2>&1 | %FileCheck %s
2
+ // RUN: not %target-build-swift -continue-building-after-errors %S/Inputs/error.swift %s 2>&1 | %FileCheck -check-prefix=CHECK-CONTINUE %s
3
3
4
4
// CHECK: self.bar = self.bar
5
5
// CHECK-NOT: self.baz = self.baz
Original file line number Diff line number Diff line change 1
- // RUN: %swiftc_driver -parse -driver-time-compilation %s 2>&1 | %FileCheck %s
2
- // RUN: %swiftc_driver -parse -driver-time-compilation %s %S/../Inputs/empty.swift 2>&1 | %FileCheck -check-prefix CHECK-MULTIPLE %s
1
+ // RUN: %target-build-swift -parse -driver-time-compilation %s 2>&1 | %FileCheck %s
2
+ // RUN: %target-build-swift -parse -driver-time-compilation %s %S/../Inputs/empty.swift 2>&1 | %FileCheck -check-prefix CHECK-MULTIPLE %s
3
3
4
4
// CHECK: Driver Time Compilation
5
5
// CHECK: Total Execution Time: {{[0-9]+}}.{{[0-9]+}} seconds ({{[0-9]+}}.{{[0-9]+}} wall clock)
Original file line number Diff line number Diff line change 1
- // RUN: %swiftc_driver_plain -parse -Xfrontend -verify %s
1
+ // RUN: %swiftc_driver_plain -target %target-triple -module-cache-path %t - parse -Xfrontend -verify %s
2
2
3
3
// This test should be updated to match the expected default Swift version
4
4
// when swiftc is invoked directly.
5
- // It should /not/ follow the version specified when invoking lit.
5
+ // It should /not/ follow the version specified when invoking lit, which means
6
+ // it can't use the %swiftc_driver or %target-build-swift substitutions.
6
7
7
8
#if swift(>=3)
8
9
asdf // expected-error {{use of unresolved identifier}}
You can’t perform that action at this time.
0 commit comments