mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
When enabling the early swift driver on Windows, these tests need to be adjusted for the new driver name that is reported. Add an additional spelling for the driver to accommodate that for the testsuite.
19 lines
865 B
Swift
19 lines
865 B
Swift
// RUN: %swiftc_driver -emit-executable -o %t.exe %s \
|
|
// RUN: -enable-upcoming-feature MemberImportVisibility \
|
|
// RUN: -enable-experimental-feature ParserValidation \
|
|
// RUN: -disable-upcoming-feature MemberImportVisibility \
|
|
// RUN: -disable-experimental-feature ParserValidation \
|
|
// RUN: -disallow-use-new-driver -driver-print-jobs 2>&1 | %FileCheck %s
|
|
|
|
// The new driver has its own test for this
|
|
|
|
// REQUIRES: cplusplus_driver
|
|
// REQUIRES: swift_feature_ParserValidation
|
|
// REQUIRES: swift_feature_MemberImportVisibility
|
|
|
|
// CHECK: {{.*}}swift{{c|c-legacy-driver|-frontend}}{{(.exe)?"?}} -frontend
|
|
// CHECK-SAME: -enable-upcoming-feature MemberImportVisibility
|
|
// CHECK-SAME: -enable-experimental-feature ParserValidation
|
|
// CHECK-SAME: -disable-upcoming-feature MemberImportVisibility
|
|
// CHECK-SAME: -disable-experimental-feature ParserValidation
|