Skip to content

[Test] Disable some runtime tests in back deployment testing. #70302

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions test/Casting/CastTraps.swift.gyb
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ CastTrapsTestSuite.test("${t1}__${t2}")
% end

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


#if _runtime(_ObjC)
if #available(SwiftStdlib 5.5, *) {
if #available(SwiftStdlib 5.11, *) {
CastTrapsTestSuite.test("Unexpected Obj-C null")
.crashOutputMatches("Found a null pointer in a value of type 'NSObject'")
.crashOutputMatches("(Detected while casting to '")
Expand Down
3 changes: 3 additions & 0 deletions test/stdlib/BridgeEquatableToObjC.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
// REQUIRES: executable_test
// REQUIRES: objc_interop

// UNSUPPORTED: use_os_stdlib
// UNSUPPORTED: back_deployment_runtime

import StdlibUnittest
import Foundation

Expand Down
3 changes: 3 additions & 0 deletions test/stdlib/SwiftObjectNSObject.swift
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@
// rdar://problem/56959761
// UNSUPPORTED: OS=watchos

// UNSUPPORTED: use_os_stdlib
// UNSUPPORTED: back_deployment_runtime

import Foundation

class C {
Expand Down
3 changes: 3 additions & 0 deletions test/stdlib/SwiftValueNSObject.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@

// REQUIRES: objc_interop

// UNSUPPORTED: use_os_stdlib
// UNSUPPORTED: back_deployment_runtime

import Foundation

struct C: CustomDebugStringConvertible {
Expand Down