Skip to content

Commit 5a2dd89

Browse files
committed
[windows][test] Mark more concurrency tests as UNSUPPORTED in VS2017
The VS2017 started to succeed while executing test/IRGen/async/throwing.swift, but it is marked as XFAIL for OS=windows-msvc. To avoid failing the test in VS2019, only mark it as unsupported in MSVC_VER=15.0 (VS2017), which will avoid running the test. `async_task_detached.swift` seems to fail with an `ACCESS_VIOLATION` exit status, but seems to pass in VS2019, so also mark it as `UNSUPPORTED` for VS2017 only. All these problems are tracked in SR-14333.
1 parent fae8f4a commit 5a2dd89

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

test/Concurrency/Runtime/async_task_detached.swift

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

6+
// See SR-14333
7+
// UNSUPPORTED: MSVC_VER=15.0
8+
69
class X {
710
init() {
811
print("X: init")

test/IRGen/async/throwing.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@
66
// REQUIRES: executable_test
77
// REQUIRES: concurrency
88
// UNSUPPORTED: use_os_stdlib
9+
10+
// See SR-14333
911
// XFAIL: OS=windows-msvc
12+
// UNSUPPORTED: MSVC_VER=15.0
1013

1114
struct E : Error {}
1215

0 commit comments

Comments
 (0)