mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
22 lines
389 B
Swift
22 lines
389 B
Swift
// RUN: %target-build-swift -module-name a %s -o %t.out
|
|
// RUN: %target-codesign %t.out
|
|
// RUN: %target-run %t.out
|
|
// REQUIRES: executable_test
|
|
// XFAIL: *
|
|
|
|
//
|
|
// Check that failures coming from StdlibUnittest are counted as failures by lit.
|
|
//
|
|
|
|
import StdlibUnittest
|
|
|
|
|
|
var TestSuiteFails = TestSuite("TestSuiteFails")
|
|
|
|
TestSuiteFails.test("fails") {
|
|
expectEqual(1, 2)
|
|
}
|
|
|
|
runAllTests()
|
|
|