Skip to content

Commit 08ea334

Browse files
committed
Merge branch 'david/ioring' of https://github.com/apple/swift-system into david/ioring
2 parents a66176f + 33b58a8 commit 08ea334

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

Package.swift

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,13 @@ let swiftSettings: [SwiftSetting] = [
2828
#if os(Linux)
2929
let filesToExclude = ["CMakeLists.txt"]
3030
#else
31-
let filesToExclude = ["CMakeLists.txt", "Sources/IORing/", "Tests/SystemTests/IORequestTests.swift", "Tests/SystemTests/IORingTests.swift"]
31+
let filesToExclude = ["CMakeLists.txt", "IORing"]
32+
#endif
33+
34+
#if os(Linux)
35+
let testsToExclude:[String] = []
36+
#else
37+
let testsToExclude = ["IORequestTests.swift", "IORingTests.swift"]
3238
#endif
3339

3440
let package = Package(
@@ -53,6 +59,7 @@ let package = Package(
5359
.testTarget(
5460
name: "SystemTests",
5561
dependencies: ["SystemPackage"],
62+
exclude: testsToExclude,
5663
cSettings: cSettings,
5764
swiftSettings: swiftSettings),
58-
])
65+
])

0 commit comments

Comments
 (0)