File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 3
3
// RUN: %{xctest_checker} %t %s
4
4
// REQUIRES: concurrency_runtime
5
5
6
+ // UNSUPPORTED: OS=windows
7
+
6
8
#if os(macOS)
7
9
import SwiftXCTest
8
10
#else
@@ -57,7 +59,7 @@ class AsyncAwaitTests: XCTestCase {
57
59
override func setUp( ) async throws { }
58
60
59
61
override func tearDown( ) async throws { }
60
-
62
+
61
63
// CHECK: Test Case 'AsyncAwaitTests.test_explicitFailures_withinAsyncTests_areReported' started at \d+-\d+-\d+ \d+:\d+:\d+\.\d+
62
64
// CHECK: .*[/\\]Asynchronous[/\\]Use[/\\]main.swift:[[@LINE+3]]: error: AsyncAwaitTests.test_explicitFailures_withinAsyncTests_areReported : XCTAssertTrue failed -
63
65
// CHECK: Test Case 'AsyncAwaitTests.test_explicitFailures_withinAsyncTests_areReported' failed \(\d+\.\d+ seconds\)
Original file line number Diff line number Diff line change @@ -151,3 +151,5 @@ os_is_not_macOS = run_os != 'Darwin'
151
151
macOS_version_is_recent_enough = parse_version (run_vers ) >= parse_version ('12.0' )
152
152
if os_is_not_macOS or macOS_version_is_recent_enough :
153
153
config .available_features .add ('concurrency_runtime' )
154
+ if run_os == 'Windows' :
155
+ config .available_features .add ('OS=windows' )
You can’t perform that action at this time.
0 commit comments