We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af5dae5 commit 9f38becCopy full SHA for 9f38bec
TestFoundation/main.swift
@@ -10,15 +10,20 @@
10
#if DEPLOYMENT_RUNTIME_OBJC || os(Linux)
11
import Foundation
12
import XCTest
13
+import Glibc
14
#else
15
import SwiftFoundation
16
import SwiftXCTest
17
+import Darwin
18
#endif
19
20
internal func testBundle() -> Bundle {
21
return Bundle.main
22
}
23
24
+// ignore SIGPIPE which is sent when writing to closed file descriptors.
25
+_ = signal(SIGPIPE, SIG_IGN)
26
+
27
// For the Swift version of the Foundation tests, we must manually list all test cases here.
28
XCTMain([
29
testCase(TestNSAffineTransform.allTests),
0 commit comments