mirror of
https://github.com/apple/swift-system
synced 2026-11-25 04:47:55 +00:00
Conditionalize tests too
This commit is contained in:
2 files changed
+4
No files matched your search
@@ -1,3 +1,4 @@
|
||||
#if os(Linux)
|
||||
import XCTest
|
||||
|
||||
#if SYSTEM_PACKAGE
|
||||
@@ -27,3 +28,4 @@ final class IORequestTests: XCTestCase {
|
||||
XCTAssertEqual(sourceBytes, .init(repeating: 0, count: 64))
|
||||
}
|
||||
}
|
||||
#endif
|
||||
@@ -1,3 +1,4 @@
|
||||
#if os(Linux)
|
||||
import XCTest
|
||||
import CSystem //for eventfd
|
||||
|
||||
@@ -98,3 +99,4 @@ final class IORingTests: XCTestCase {
|
||||
rawBuffer.deallocate()
|
||||
}
|
||||
}
|
||||
#endif
|
||||
Reference in new issue
Block a user