Skip to content

test: enable async/Distributed tests on Windows #40274

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
Nov 29, 2021
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
3 changes: 0 additions & 3 deletions test/Concurrency/Runtime/async_stream.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@
// rdar://78109470
// UNSUPPORTED: back_deployment_runtime

// https://bugs.swift.org/browse/SR-14466
// UNSUPPORTED: OS=windows-msvc

// Race condition
// REQUIRES: rdar78033828

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// REQUIRES: executable_test
// REQUIRES: concurrency

// UNSUPPORTED: OS=windows-msvc
// UNSUPPORTED: back_deployment_runtime
// REQUIRES: concurrency_runtime

Expand Down
3 changes: 0 additions & 3 deletions test/Concurrency/Runtime/async_task_detach.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@
// REQUIRES: concurrency_runtime
// UNSUPPORTED: back_deployment_runtime

// https://bugs.swift.org/browse/SR-14333
// UNSUPPORTED: OS=windows-msvc

class X {
init() {
print("X: init")
Expand Down
2 changes: 0 additions & 2 deletions test/Concurrency/Runtime/async_task_yield.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
// REQUIRES: executable_test
// REQUIRES: concurrency

// https://bugs.swift.org/browse/SR-14333
// UNSUPPORTED: OS=windows-msvc
// REQUIRES: concurrency_runtime
// UNSUPPORTED: back_deployment_runtime

Expand Down
2 changes: 0 additions & 2 deletions test/Concurrency/Runtime/custom_executors.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
// UNSUPPORTED: back_deployment_runtime
// REQUIRES: concurrency_runtime

// Disabled until test hang can be looked at.
// UNSUPPORTED: OS=windows-msvc

actor Simple {
var count = 0
Expand Down
3 changes: 0 additions & 3 deletions test/Concurrency/Runtime/exclusivity_custom_executors.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@
// Crash expectations can't be implemented on WASI/WebAssembly.
// UNSUPPORTED: OS=wasi

// Disabled until test hang can be looked at.
// UNSUPPORTED: OS=windows-msvc

// UNSUPPORTED: use_os_stdlib

// This test makes sure that we properly save/restore access when we
Expand Down
3 changes: 0 additions & 3 deletions test/Distributed/Runtime/distributed_actor_init_local.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@
// UNSUPPORTED: use_os_stdlib
// UNSUPPORTED: back_deployment_runtime

// FIXME(distributed): we need to revisit what's going on on windows with distributed actors rdar://83859906
// UNSUPPORTED: OS=windows-msvc

// Flaky CI test
// REQUIRES: radar84649015

Expand Down
4 changes: 0 additions & 4 deletions test/Distributed/Runtime/distributed_actor_local.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@
// REQUIRES: concurrency
// REQUIRES: distributed

// rdar://83859906
// UNSUPPORTED: OS=windows-msvc


// rdar://76038845
// UNSUPPORTED: use_os_stdlib
// UNSUPPORTED: back_deployment_runtime
Expand Down
1 change: 0 additions & 1 deletion test/IRGen/async/run-switch-executor.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

// FIXME: both of these should work, need to figure out why
// UNSUPPORTED: CPU=arm64e
// UNSUPPORTED: OS=windows-msvc

// REQUIRES: rdar72893124

Expand Down
3 changes: 0 additions & 3 deletions test/IRGen/async/throwing.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@
// REQUIRES: concurrency_runtime
// UNSUPPORTED: back_deployment_runtime

// https://bugs.swift.org/browse/SR-14333
// UNSUPPORTED: OS=windows-msvc

struct E : Error {}

func asyncCanThrowDoesThrow() async throws -> Int {
Expand Down