Commit 65e6ecd
committed
Guard parse_version
The most recent versions of `parse_version` throw an exception if the
version is empty. The version passed in is only set on Darwin (call to
`mac_ver()`, so it's causing test failures on newer versions of Linux
since the test suite can't even start.
Now, the only reason for the version parse is because the tests are
looking at whether or not concurrency is available on the OS. This is
only a limitation if we're working with Darwin. Swift 5.10 on Windows
and Linux always have a Swift 5.10 concurrency runtime, so we don't even
need to check for a version.
rdar://1285026621 parent 4e7153c commit 65e6ecd
1 file changed
+7
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
| 146 | + | |
146 | 147 | | |
147 | | - | |
148 | | - | |
149 | | - | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
150 | 154 | | |
151 | 155 | | |
152 | 156 | | |
0 commit comments