Skip to content

Commit c7577bb

Browse files
committed
Disable stdlib tests under the OS stdlib
These two tests verify recent fixes, so they fail when run against older versions of the stdlib.
1 parent 2a75214 commit c7577bb

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

test/stdlib/ForEachField.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515
// REQUIRES: executable_test
1616
// REQUIRES: reflection
1717

18+
// Only run these tests with a just-built stdlib.
19+
// UNSUPPORTED: use_os_stdlib
20+
// UNSUPPORTED: back_deployment_runtime
21+
1822
@_spi(Reflection) import Swift
1923
import StdlibUnittest
2024

validation-test/stdlib/String.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
// XFAIL: interpret
99
// UNSUPPORTED: freestanding
1010

11+
// Only run these tests with a just-built stdlib.
12+
// UNSUPPORTED: use_os_stdlib
13+
// UNSUPPORTED: back_deployment_runtime
14+
1115
// With a non-optimized stdlib the test takes very long.
1216
// REQUIRES: optimized_stdlib
1317

0 commit comments

Comments
 (0)