Skip to content

Commit f1cd9cb

Browse files
committed
[Test] Remove REQUIRES: asserts from tests that use -swift-version 6.
1 parent ad63302 commit f1cd9cb

File tree

60 files changed

+3
-85
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+3
-85
lines changed

include/swift/Basic/Features.def

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ EXPERIMENTAL_FEATURE(ReferenceBindings, true)
219219
EXPERIMENTAL_FEATURE(BuiltinModule, true)
220220

221221
/// Region Based Isolation testing using the TransferNonSendable pass
222-
EXPERIMENTAL_FEATURE(RegionBasedIsolation, false)
222+
EXPERIMENTAL_FEATURE(RegionBasedIsolation, true)
223223

224224
/// Enable extended callbacks (with additional parameters) to be used when the
225225
/// "playground transform" is enabled.

test/ClangImporter/incomplete_objc_types_availability.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010

1111
// REQUIRES: objc_interop
1212
// REQUIRES: executable_test
13-
// REQUIRES: asserts
1413

1514
// Verify that Clang declarations referencing either of the forward declares types "ForwardDeclaredInterface" or
1615
// "ForwardDeclaredProtocol" are usable from Swift.

test/ClangImporter/incomplete_objc_types_base_interface_swift_6.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
// REQUIRES: objc_interop
99
// REQUIRES: executable_test
1010
// REQUIRES: OS=macosx
11-
// REQUIRES: asserts
1211

1312
import Foundation
1413
import IncompleteTypeLibrary1

test/ClangImporter/incomplete_objc_types_compatibility_complete_incomplete.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
// REQUIRES: objc_interop
1313
// REQUIRES: executable_test
14-
// REQUIRES: asserts
1514

1615
// "ForwardDeclaredInterface" and "ForwardDeclaredProtocol" are forward declared in IncompleteTypeLibrary1/2, and
1716
// completely declared in CompleteTypes. This test verifies that instances of the complete types can be passed

test/ClangImporter/incomplete_objc_types_compatibility_incomplete_incomplete.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
// REQUIRES: objc_interop
1313
// REQUIRES: executable_test
14-
// REQUIRES: asserts
1514

1615
// Both libraries "IncompleteTypeConsumer1" and "IncompleteTypeConsumer2" forward declare an interface "ForwardDeclaredInterface"
1716
// and a protocol "ForwardDeclaredProtocol". This test verifies that the synthesized Swift declaration created to represent

test/ClangImporter/incomplete_objc_types_full_availability_swift_6.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
// REQUIRES: objc_interop
99
// REQUIRES: executable_test
10-
// REQUIRES: asserts
1110

1211
import IncompleteTypeLibrary1
1312
import CompleteTypes

test/ClangImporter/incomplete_objc_types_importing_limitations_diagnostics.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// RUN: not %target-swift-frontend -swift-version 6 -enable-objc-interop -typecheck -I %S/Inputs/custom-modules/IncompleteTypes %s 2>&1 | %FileCheck %s
33

44
// REQUIRES: objc_interop
5-
// REQUIRES: asserts
65

76
import IncompleteTypeLibrary1
87
import IncompleteNoRootTypeProtocolLibrary

test/ClangImporter/incomplete_objc_types_no_reference.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// RUN: not %target-swift-frontend -swift-version 6 -enable-objc-interop -typecheck -I %S/Inputs/custom-modules/IncompleteTypes %s 2>&1 | %FileCheck %s
33

44
// REQUIRES: objc_interop
5-
// REQUIRES: asserts
65

76
import IncompleteTypeLibrary1
87

test/ClangImporter/incomplete_objc_types_no_root_protocol.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99

1010
// REQUIRES: objc_interop
1111
// REQUIRES: executable_test
12-
// REQUIRES: asserts
1312

1413
// Verify that a forward declared protocol not inheriting from NSObject is usable
1514
// from Swift, if cumbersome

test/ClangImporter/incomplete_objc_types_nsproxy.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99

1010
// REQUIRES: objc_interop
1111
// REQUIRES: executable_test
12-
// REQUIRES: asserts
1312

1413
// Verify that a forward declared interface for a type inheriting from NSProxy instead
1514
// of NSObject is still usable from Swift.

0 commit comments

Comments
 (0)