Files
swift-mirror/test/Driver/features.swift
Saleem Abdulrasool 8eaf6d55fc test: adjust the tests for swiftc-legacy-driver.exe
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.
2024-12-02 11:50:57 -08:00

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