Open
Description
Previous ID | SR-16103 |
Radar | rdar://91365967 |
Original Reporter | @glessard |
Type | Bug |
Attachment: Download
Environment
I was unable to build for Linux on my machine today, so I have nothing more precise than "the CI environment".
Additional Detail from JIRA
Votes | 0 |
Component/s | swift |
Labels | Bug |
Assignee | None |
Priority | Medium |
md5: bf124e4f079ec0d2ed8bad960d970880
Issue Description:
The following test file (tested in the test/ hierarchy) fails on the current Linux CI:
// RUN: %target-run-simple-swift
// REQUIRES: executable_test
import StdlibUnittest
var CrashTest = TestSuite("CrashTest")
CrashTest.test("expectCrashLater(withMessage:)") {
var i: Int? = nil
expectCrashLater(withMessage: "Unexpectedly found nil while unwrapping an Optional value")
_ = i!
expectUnreachable()
i = 0
}
runAllTests()
The same works as expected on macOS and Windows CI.
I was forced to work around this in 8032a7c