Skip to content

Commit 841740e

Browse files
committed
Tests: XFAIL a few tests on freestanding
rdar://121121793
1 parent 2c6cc4a commit 841740e

10 files changed

+30
-0
lines changed

test/Concurrency/Runtime/actor_counters_freestanding.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
// REQUIRES: concurrency_runtime
99
// UNSUPPORTED: back_deployment_runtime
1010

11+
// rdar://124277662
12+
// XFAIL: freestanding
13+
1114
@_spi(_TaskToThreadModel) import _Concurrency
1215
import StdlibUnittest
1316
import Darwin

test/Concurrency/Runtime/async_let_throw_completion_order.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
// REQUIRES: concurrency_runtime
88
// UNSUPPORTED: back_deployment_runtime
99

10+
// rdar://124277662
11+
// XFAIL: freestanding
12+
1013
struct Bad: Error {}
1114

1215
class Foo { init() async throws {}; deinit { print("Foo down") } }

test/Concurrency/Runtime/async_taskgroup_asynciterator_semantics.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
// REQUIRES: concurrency_runtime
66
// UNSUPPORTED: back_deployment_runtime
77

8+
// rdar://124277662
9+
// XFAIL: freestanding
10+
811
struct Boom: Error {}
912

1013
func boom() async throws -> Int {

test/Concurrency/Runtime/async_taskgroup_is_asyncsequence.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
// REQUIRES: concurrency_runtime
88
// UNSUPPORTED: back_deployment_runtime
99

10+
// rdar://124277662
11+
// XFAIL: freestanding
12+
1013
@available(SwiftStdlib 5.1, *)
1114
func test_taskGroup_is_asyncSequence() async {
1215
print(#function)

test/Concurrency/ShrinkWrap.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
// REQUIRES: executable_test
77
// REQUIRES: concurrency
88

9+
// rdar://124277662
10+
// XFAIL: freestanding
11+
912
// CHECK: Setting field Field(rawValue: "fxxxxxxx/0")
1013
// CHECK: Setting field Field(rawValue: "fxxxxxxx/1")
1114
// CHECK: Setting field Field(rawValue: "fxxxxxxx/2")

test/Concurrency/blocking_continuations.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
// REQUIRES: freestanding
66
// UNSUPPORTED: threading_none
77

8+
// rdar://124277662
9+
// XFAIL: freestanding
10+
811
@_spi(_TaskToThreadModel) import _Concurrency
912
import StdlibUnittest
1013
import Darwin

test/Concurrency/execute_child_on_await.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
// REQUIRES: freestanding
66
// REQUIRES: concurrency_runtime
77

8+
// rdar://124277662
9+
// XFAIL: freestanding
10+
811
@_spi(_TaskToThreadModel) import _Concurrency
912
import StdlibUnittest
1013
import Darwin

test/Concurrency/optional_isolated_parameters.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
// REQUIRES: executable_test
77
// REQUIRES: concurrency
88

9+
// rdar://124277662
10+
// XFAIL: freestanding
11+
912
actor MyActor: CustomStringConvertible {
1013
let description = "MyActor"
1114
}

test/stdlib/freestanding-check-symbols.test-sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,7 @@
77
// REQUIRES: executable_test
88
// UNSUPPORTED: objc_interop
99

10+
// rdar://124277662
11+
// XFAIL: freestanding
12+
1013
// RUN: %{python} %utils/check_freestanding_dependencies.py --vendor %target-vendor --library %test-resource-dir/freestanding/libswiftCore.a --nm-path %llvm-nm

test/stdlib/run_inline.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
// REQUIRES: freestanding
66
// REQUIRES: concurrency_runtime
77

8+
// rdar://124277662
9+
// XFAIL: freestanding
10+
811
@_spi(_TaskToThreadModel) import _Concurrency
912

1013
// =============================================================================

0 commit comments

Comments
 (0)