Conditionalize tests too

This commit is contained in:
David Smith committed 2025-07-03 16:17:51 -07:00
1 parent 0d4c6fc971
commit de2d6e2d39
2 files changed
+4

No files matched your search

+2
View File
@@ -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
+2
View File
@@ -1,3 +1,4 @@
#if os(Linux)
import XCTest
import CSystem //for eventfd
@@ -98,3 +99,4 @@ final class IORingTests: XCTestCase {
rawBuffer.deallocate()
}
}
#endif