Skip to content

Commit 2461290

Browse files
committed
Exclude tests that need plist serialization from linux
This need a fix that is in swift 6.1 to pass on linux: swiftlang/swift-foundation#1002
1 parent 5cf9160 commit 2461290

File tree

4 files changed

+11
-1
lines changed

4 files changed

+11
-1
lines changed

Tests/XcodeProjTests/Objects/Project/PBXOutputSettingsTests.swift

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#if os(macOS) || (os(Linux) && compiler(>=6.1))
12

23
import XCTest
34
@testable import XcodeProj
@@ -274,3 +275,4 @@ class PBXOutputSettingsTests: XCTestCase {
274275
)
275276
}
276277
}
278+
#endif

Tests/XcodeProjTests/Objects/Project/PBXProjEncoderTests.swift

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
1+
#if os(macOS) || (os(Linux) && compiler(>=6.1))
22
import Foundation
33
import XCTest
44
@testable import XcodeProj
@@ -616,3 +616,5 @@ private extension [String] {
616616
}
617617
}
618618
}
619+
620+
#endif

Tests/XcodeProjTests/Objects/Project/PBXProjIntegrationTests.swift

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#if os(macOS) || (os(Linux) && compiler(>=6.1))
12
import Foundation
23
import PathKit
34
import XCTest
@@ -84,3 +85,5 @@ final class PBXProjIntegrationTests: XCTestCase {
8485
XCTAssertEqual(proj.objects.remoteSwiftPackageReferences.count, 1)
8586
}
8687
}
88+
89+
#endif

Tests/XcodeProjTests/Project/XcodeProjIntegrationTests.swift

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#if os(macOS) || (os(Linux) && compiler(>=6.1))
12
import Foundation
23
import PathKit
34
import XCTest
@@ -109,3 +110,5 @@ final class XcodeProjIntegrationTests: XCTestCase {
109110
fixturesPath() + "SynchronizedRootGroups/SynchronizedRootGroups.xcodeproj"
110111
}
111112
}
113+
114+
#endif

0 commit comments

Comments
 (0)