Skip to content

Commit 9a08475

Browse files
committed
[TaskGroup] for now require macOS on a few tests
1 parent 9c0deaf commit 9a08475

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

test/Concurrency/Runtime/async_task_equals_hashCode.swift

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
// RUN: %target-run-simple-swift(-Xfrontend -enable-experimental-concurrency -parse-as-library) | %FileCheck %s --dump-input=always
1+
// RUN: %target-run-simple-swift(-Xfrontend -enable-experimental-concurrency %import-libdispatch -parse-as-library) | %FileCheck %s --dump-input=always
2+
23
// REQUIRES: executable_test
34
// REQUIRES: concurrency
4-
// REQUIRES: OS=macosx
5-
// REQUIRES: CPU=x86_64
65

76
import Dispatch
87
#if canImport(Darwin)

test/Concurrency/Runtime/async_taskgroup_is_asyncsequence.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
// REQUIRES: libdispatch
6+
// FIXME: unlock on other OSes
7+
// REQUIRES: OS=macosx
8+
// REQUIRES: CPU=x86_64
69

710
import Dispatch
811

test/Concurrency/Runtime/async_taskgroup_throw_recover.swift

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
// REQUIRES: executable_test
44
// REQUIRES: concurrency
55
// REQUIRES: libdispatch
6+
// FIXME: unlock on other OSes
7+
// REQUIRES: OS=macosx
8+
// REQUIRES: CPU=x86_64
69

710
struct Boom: Error {}
811
struct IgnoredBoom: Error {}
@@ -35,7 +38,7 @@ func test_taskGroup_throws() async {
3538

3639
guard let third = try! await group.next() else {
3740
print("task group failed to get 3")
38-
return 0
41+
return 0
3942
}
4043

4144
print("task group returning normally: \(third)")

0 commit comments

Comments
 (0)