Skip to content

Commit 3ee09a2

Browse files
committed
Switch concurrency runtime tests to "REQUIRES: concurrency_runtime"
Rather than blanket-disabling concurrency tests when we aren't using a just-built concurrency library, enable them whenever we have a suitable concurrency runtime, either just-built, in the OS, or via the back-deployment libraries.
1 parent a71cd56 commit 3ee09a2

File tree

117 files changed

+118
-117
lines changed

Some content is hidden

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

117 files changed

+118
-117
lines changed

test/Concurrency/Runtime/actor_counters.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// REQUIRES: libdispatch
66

77
// rdar://76038845
8-
// UNSUPPORTED: use_os_stdlib
8+
// REQUIRES: concurrency_runtime
99
// UNSUPPORTED: back_deployment_runtime
1010

1111
@available(SwiftStdlib 5.5, *)

test/Concurrency/Runtime/actor_detach.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// REQUIRES: concurrency
55
// REQUIRES: foundation
66

7-
// UNSUPPORTED: use_os_stdlib
7+
// REQUIRES: concurrency_runtime
88
// UNSUPPORTED: back_deployment_runtime
99

1010
import Foundation

test/Concurrency/Runtime/actor_init.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// REQUIRES: concurrency
55
// REQUIRES: libdispatch
66

7-
// UNSUPPORTED: use_os_stdlib
7+
// REQUIRES: concurrency_runtime
88
// UNSUPPORTED: back_deployment_runtime
99

1010
@available(SwiftStdlib 5.5, *)

test/Concurrency/Runtime/actor_keypaths.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// REQUIRES: executable_test
44
// REQUIRES: concurrency
55
// REQUIRES: libdispatch
6-
// UNSUPPORTED: use_os_stdlib
6+
// REQUIRES: concurrency_runtime
77
// UNSUPPORTED: back_deployment_runtime
88

99
actor Page {

test/Concurrency/Runtime/async.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// REQUIRES: libdispatch
66

77
// rdar://82123254
8-
// UNSUPPORTED: use_os_stdlib
8+
// REQUIRES: concurrency_runtime
99
// UNSUPPORTED: back_deployment_runtime
1010

1111
import Dispatch

test/Concurrency/Runtime/async_initializer.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// REQUIRES: libdispatch
66

77
// rdar://76038845
8-
// UNSUPPORTED: use_os_stdlib
8+
// REQUIRES: concurrency_runtime
99
// UNSUPPORTED: back_deployment_runtime
1010

1111
@available(SwiftStdlib 5.5, *)

test/Concurrency/Runtime/async_let_fibonacci.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// REQUIRES: libdispatch
66

77
// rdar://76038845
8-
// UNSUPPORTED: use_os_stdlib
8+
// REQUIRES: concurrency_runtime
99
// UNSUPPORTED: back_deployment_runtime
1010

1111
func fib(_ n: Int) -> Int {

test/Concurrency/Runtime/async_let_throw_completion_order.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// REQUIRES: libdispatch
66

77
// rdar://82123254
8-
// UNSUPPORTED: use_os_stdlib
8+
// REQUIRES: concurrency_runtime
99
// UNSUPPORTED: back_deployment_runtime
1010

1111
struct Bad: Error {}

test/Concurrency/Runtime/async_let_throws.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// REQUIRES: libdispatch
66

77
// rdar://76038845
8-
// UNSUPPORTED: use_os_stdlib
8+
// REQUIRES: concurrency_runtime
99
// UNSUPPORTED: back_deployment_runtime
1010

1111
struct Boom: Error {}

test/Concurrency/Runtime/async_properties_actor.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// REQUIRES: libdispatch
66

77
// rdar://76038845
8-
// UNSUPPORTED: use_os_stdlib
8+
// REQUIRES: concurrency_runtime
99
// UNSUPPORTED: back_deployment_runtime
1010

1111
struct Container {

0 commit comments

Comments
 (0)