Skip to content

Commit 167aaea

Browse files
authored
Merge pull request #68167 from stephentyrone/dont-test-duration-on-old-OSes
Disable stdlib/Duration.swift tests on old OSes.
2 parents 160e220 + b9a07dc commit 167aaea

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/stdlib/Duration.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@
55
// provided by the 32-bit LLVM. See `dividingFullWidth` in IntegerTypes.swift.gyb
66
// UNSUPPORTED: PTRSIZE=32
77

8+
// These test a codepath that was fixed in the Swift 5.9 stdlib, so it will
9+
// fail if run against earlier standard library versions.
10+
// UNSUPPORTED: use_os_stdlib
11+
// UNSUPPORTED: back_deployment_runtime
12+
813
import StdlibUnittest
914

1015
var suite = TestSuite("StringIndexTests")

0 commit comments

Comments
 (0)