Skip to content

Commit b4193de

Browse files
Try to skip some tests
Lots of stdlib tests are trying to run freestanding, which is not supported by Darwin, and not supported by all of the private unit test modules either. Try adding some UNSUPPORTED markup for the Apple OSes && freestanding to see if I have the syntax right.
1 parent 3b47d2f commit b4193de

File tree

6 files changed

+24
-0
lines changed

6 files changed

+24
-0
lines changed

test/Concurrency/CaseIterableIsolation.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33

44
// REQUIRES: executable_test
55
// REQUIRES: concurrency
6+
// UNSUPPORTED: OS=macosx && freestanding
7+
// UNSUPPORTED: OS=ios && freestanding
8+
// UNSUPPORTED: OS=tvos && freestanding
9+
// UNSUPPORTED: OS=watchos && freestanding
610

711
import StdlibUnittest
812

test/Concurrency/Runtime/actor_keypaths.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
// REQUIRES: concurrency
55
// REQUIRES: concurrency_runtime
66
// UNSUPPORTED: back_deployment_runtime
7+
// UNSUPPORTED: OS=macosx && freestanding
8+
// UNSUPPORTED: OS=ios && freestanding
9+
// UNSUPPORTED: OS=tvos && freestanding
10+
// UNSUPPORTED: OS=watchos && freestanding
711

812
actor Page {
913
let initialNumWords : Int

test/Concurrency/Runtime/clock.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
// in the back deployment runtime.
1010
// UNSUPPORTED: back_deployment_runtime
1111
// UNSUPPORTED: back_deploy_concurrency
12+
// UNSUPPORTED: OS=macosx && freestanding
13+
// UNSUPPORTED: OS=ios && freestanding
14+
// UNSUPPORTED: OS=tvos && freestanding
15+
// UNSUPPORTED: OS=watchos && freestanding
1216

1317
import _Concurrency
1418
import StdlibUnittest

test/Concurrency/Runtime/reasync.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66

77
// REQUIRES: executable_test
88
// REQUIRES: concurrency
9+
// UNSUPPORTED: OS=macosx && freestanding
10+
// UNSUPPORTED: OS=ios && freestanding
11+
// UNSUPPORTED: OS=tvos && freestanding
12+
// UNSUPPORTED: OS=watchos && freestanding
913

1014
import StdlibUnittest
1115
import reasync

test/stdlib/AllocRounding.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
// RUN: %target-run-simple-swift
22
// REQUIRES: executable_test
3+
// UNSUPPORTED: OS=macosx && freestanding
4+
// UNSUPPORTED: OS=ios && freestanding
5+
// UNSUPPORTED: OS=tvos && freestanding
6+
// UNSUPPORTED: OS=watchos && freestanding
37

48
import StdlibUnittest
59

test/stdlib/Builtins.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515
// RUN: %target-codesign %t/Builtins
1616
// RUN: %target-run %t/Builtins
1717
// REQUIRES: executable_test
18+
// UNSUPPORTED: OS=macosx && freestanding
19+
// UNSUPPORTED: OS=ios && freestanding
20+
// UNSUPPORTED: OS=tvos && freestanding
21+
// UNSUPPORTED: OS=watchos && freestanding
1822

1923
import Swift
2024
import SwiftShims

0 commit comments

Comments
 (0)