Skip to content

Commit 30ea932

Browse files
committed
[Test] Disabled two Concurrency tests for back deploy.
1 parent b3746e6 commit 30ea932

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

test/Concurrency/Runtime/async_task_yield.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55

66
// https://bugs.swift.org/browse/SR-14333
77
// UNSUPPORTED: OS=windows-msvc
8+
// UNSUPPORTED: use_os_stdlib
9+
// UNSUPPORTED: back_deployment_runtime
810

911
@available(macOS 9999, iOS 9999, watchOS 9999, tvOS 9999, *)
1012
protocol Go: Actor {

test/Concurrency/Runtime/data_race_detection.swift

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
// rdar://76038845
99
// UNSUPPORTED: use_os_stdlib
10+
// UNSUPPORTED: back_deployment_runtime
1011

1112
import _Concurrency
1213
import Dispatch
@@ -57,14 +58,14 @@ actor MyActor {
5758
struct Runner {
5859
static func main() async {
5960
print("Launching a main-actor task")
60-
// CHECK: warning: data race detected: @MainActor function at main/data_race_detection.swift:21 was not called on the main thread
61+
// CHECK: warning: data race detected: @MainActor function at main/data_race_detection.swift:22 was not called on the main thread
6162
launchFromMainThread()
6263
sleep(1)
6364

6465
let actor = MyActor()
6566
let actorFn = await actor.getTaskOnMyActor()
6667
print("Launching an actor-instance task")
67-
// CHECK: warning: data race detected: actor-isolated function at main/data_race_detection.swift:50 was not called on the same actor
68+
// CHECK: warning: data race detected: actor-isolated function at main/data_race_detection.swift:51 was not called on the same actor
6869
launchTask(actorFn)
6970

7071
sleep(1)

0 commit comments

Comments
 (0)