Skip to content

Commit 4efb9ac

Browse files
committed
[Tests] Mark some tests as unsupported in back deployment testing.
These tests require a newer runtime and fail on older OSes: test/Concurrency/Runtime/actor_detach.swift test/Concurrency/Runtime/actor_init.swift test/Interpreter/rdar80847020.swift test/stdlib/Reflection_objc.swift
1 parent 43776ce commit 4efb9ac

File tree

4 files changed

+13
-0
lines changed

4 files changed

+13
-0
lines changed

test/Concurrency/Runtime/actor_detach.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
// REQUIRES: concurrency
55
// REQUIRES: foundation
66

7+
// UNSUPPORTED: use_os_stdlib
8+
// UNSUPPORTED: back_deployment_runtime
9+
710
import Foundation
811

912
@available(SwiftStdlib 5.5, *)

test/Concurrency/Runtime/actor_init.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
// REQUIRES: concurrency
55
// REQUIRES: libdispatch
66

7+
// UNSUPPORTED: use_os_stdlib
8+
// UNSUPPORTED: back_deployment_runtime
9+
710
@available(SwiftStdlib 5.5, *)
811
actor Number {
912
var val: Int

test/Interpreter/rdar80847020.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66

77
// REQUIRES: executable_test
88
// REQUIRES: objc_interop
9+
// REQUIRES: concurrency
10+
11+
// UNSUPPORTED: use_os_stdlib
12+
// UNSUPPORTED: back_deployment_runtime
913

1014
func run(_ s: Clazz) async throws {
1115
let res: (String, String) = try await s.doSomethingMultiResultFlaggy()

test/stdlib/Reflection_objc.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
// REQUIRES: executable_test
1010
// REQUIRES: objc_interop
1111

12+
// UNSUPPORTED: use_os_stdlib
13+
// UNSUPPORTED: back_deployment_runtime
14+
1215
//
1316
// DO NOT add more tests to this file. Add them to test/1_stdlib/Runtime.swift.
1417
//

0 commit comments

Comments
 (0)