mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
tests: remove some unused FileCheck prefix options
Such tests would fail with the -allow-unused-prefixes FileCheck option. diff --git a/test/lit.cfg b/test/lit.cfg -run_filecheck = '%s %s --sanitize BUILD_DIR=%s --sanitize SOURCE_DIR=%s --use-filecheck %s %s' % ( +run_filecheck = '%s %s --sanitize BUILD_DIR=%s --sanitize SOURCE_DIR=%s --use-filecheck %s %s -allow-unused-prefixes=false' % ( It helps avoiding some wrong CHECK patterns. I just looked briefly at some of the fails. TODO: fix remaining tests, too. rdar://74189761
This commit is contained in:
@@ -6,10 +6,10 @@
|
||||
// RUN: %target-swift-frontend -emit-module -o /dev/null -merge-modules -emit-module-interface-path - %t/Test.swiftmodule -module-name Test | %FileCheck %s --check-prefix CHECK --check-prefix NONRESILIENT
|
||||
|
||||
// RUN: %target-swift-frontend -typecheck -module-name TestResilient -emit-module-interface-path %t/TestResilient.swiftinterface -enable-library-evolution %s
|
||||
// RUN: %FileCheck %s < %t/TestResilient.swiftinterface --check-prefix CHECK --check-prefix RESILIENT
|
||||
// RUN: %FileCheck %s < %t/TestResilient.swiftinterface
|
||||
|
||||
// RUN: %target-swift-frontend -compile-module-from-interface %t/TestResilient.swiftinterface -o %t/TestResilient.swiftmodule
|
||||
// RUN: %target-swift-frontend -emit-module -o /dev/null -merge-modules -emit-module-interface-path - %t/TestResilient.swiftmodule -module-name TestResilient | %FileCheck %s --check-prefix CHECK --check-prefix RESILIENT
|
||||
// RUN: %target-swift-frontend -emit-module -o /dev/null -merge-modules -emit-module-interface-path - %t/TestResilient.swiftmodule -module-name TestResilient | %FileCheck %s
|
||||
|
||||
// CHECK: @frozen public struct HasLazyVarsFixedLayout {
|
||||
// CHECK-NEXT: public var foo: Swift.Int {
|
||||
|
||||
Reference in New Issue
Block a user