Skip to content

Commit f67ec2f

Browse files
authored
Merge pull request #70302 from mikeash/runtime-tests-back-deploy-disable
[Test] Disable some runtime tests in back deployment testing.
2 parents 7b8fc50 + 1770b3d commit f67ec2f

File tree

4 files changed

+11
-2
lines changed

4 files changed

+11
-2
lines changed

test/Casting/CastTraps.swift.gyb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ CastTrapsTestSuite.test("${t1}__${t2}")
105105
% end
106106

107107
protocol P2 {}
108-
if #available(SwiftStdlib 5.5, *) {
108+
if #available(SwiftStdlib 5.11, *) {
109109
CastTrapsTestSuite.test("Unexpected null")
110110
.crashOutputMatches("Found a null pointer in a value of type '")
111111
.crashOutputMatches("Foo'")
@@ -125,7 +125,7 @@ CastTrapsTestSuite.test("Unexpected null")
125125

126126

127127
#if _runtime(_ObjC)
128-
if #available(SwiftStdlib 5.5, *) {
128+
if #available(SwiftStdlib 5.11, *) {
129129
CastTrapsTestSuite.test("Unexpected Obj-C null")
130130
.crashOutputMatches("Found a null pointer in a value of type 'NSObject'")
131131
.crashOutputMatches("(Detected while casting to '")

test/stdlib/BridgeEquatableToObjC.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
// REQUIRES: executable_test
77
// REQUIRES: objc_interop
88

9+
// UNSUPPORTED: use_os_stdlib
10+
// UNSUPPORTED: back_deployment_runtime
11+
912
import StdlibUnittest
1013
import Foundation
1114

test/stdlib/SwiftObjectNSObject.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@
2525
// rdar://problem/56959761
2626
// UNSUPPORTED: OS=watchos
2727

28+
// UNSUPPORTED: use_os_stdlib
29+
// UNSUPPORTED: back_deployment_runtime
30+
2831
import Foundation
2932

3033
class C {

test/stdlib/SwiftValueNSObject.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@
2222

2323
// REQUIRES: objc_interop
2424

25+
// UNSUPPORTED: use_os_stdlib
26+
// UNSUPPORTED: back_deployment_runtime
27+
2528
import Foundation
2629

2730
struct C: CustomDebugStringConvertible {

0 commit comments

Comments
 (0)