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 33// RUN: %{xctest_checker} %t %s
44// REQUIRES: concurrency_runtime
55
6+ // UNSUPPORTED: OS=windows
7+
68#if os(macOS)
79 import SwiftXCTest
810#else
@@ -57,7 +59,7 @@ class AsyncAwaitTests: XCTestCase {
5759 override func setUp( ) async throws { }
5860
5961 override func tearDown( ) async throws { }
60-
62+
6163 // CHECK: Test Case 'AsyncAwaitTests.test_explicitFailures_withinAsyncTests_areReported' started at \d+-\d+-\d+ \d+:\d+:\d+\.\d+
6264 // CHECK: .*[/\\]Asynchronous[/\\]Use[/\\]main.swift:[[@LINE+3]]: error: AsyncAwaitTests.test_explicitFailures_withinAsyncTests_areReported : XCTAssertTrue failed -
6365 // 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'
151151macOS_version_is_recent_enough = parse_version (run_vers ) >= parse_version ('12.0' )
152152if os_is_not_macOS or macOS_version_is_recent_enough :
153153 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