File tree Expand file tree Collapse file tree 3 files changed +4
-17
lines changed Expand file tree Collapse file tree 3 files changed +4
-17
lines changed Original file line number Diff line number Diff line change @@ -44,9 +44,6 @@ final class SnippetDocumentationGenerationTests: ConcurrencyRequiringTestCase {
44
44
}
45
45
46
46
func testPreviewDocumentationWithSnippets( ) throws {
47
- #if os(macOS)
48
- throw XCTSkip ( " Skipping integration tests due to rdar://134406349 " )
49
- #else
50
47
let outputDirectory = try temporaryDirectory ( ) . appendingPathComponent ( " output " )
51
48
52
49
let port = try getAvailablePort ( )
@@ -105,6 +102,5 @@ final class SnippetDocumentationGenerationTests: ConcurrencyRequiringTestCase {
105
102
106
103
// Send an interrupt to the SwiftPM parent process
107
104
process. interrupt ( )
108
- #endif
109
105
}
110
106
}
Original file line number Diff line number Diff line change @@ -11,9 +11,6 @@ import XCTest
11
11
12
12
final class SwiftDocCPreview : ConcurrencyRequiringTestCase {
13
13
func testRunPreviewServerOnSamePortRepeatedly( ) throws {
14
- #if os(macOS)
15
- throw XCTSkip ( " Skipping integration tests due to rdar://134406349 " )
16
- #else
17
14
// Because only a single server can bind to a given port at a time,
18
15
// this test ensures that the preview server running in the `docc`
19
16
// process exits when the an interrupt is sent to the `SwiftPM` process.
@@ -113,6 +110,5 @@ final class SwiftDocCPreview: ConcurrencyRequiringTestCase {
113
110
// Send an interrupt to the SwiftPM parent process
114
111
process. interrupt ( )
115
112
}
116
- #endif
117
113
}
118
114
}
Original file line number Diff line number Diff line change @@ -96,20 +96,15 @@ extension XCTestCase {
96
96
}
97
97
98
98
return try processQueue. sync {
99
- let standardOutputString = String ( data: standardOutputData, encoding: . utf8) ?? " "
100
- let standardErrorString = String ( data: standardErrorData, encoding: . utf8) ?? " "
99
+ let standardOutputString = String ( data: standardOutputData, encoding: . utf8)
100
+ let standardErrorString = String ( data: standardErrorData, encoding: . utf8)
101
101
102
-
103
- if process. terminationStatus != 0 , standardErrorString. contains ( " <unknown>:0: error: unknown argument: " ) {
104
- throw XCTSkip ( " Skipping integration tests due to rdar://134406349 " )
105
- }
106
-
107
102
return SwiftInvocationResult (
108
103
workingDirectory: directoryURL,
109
104
swiftExecutable: try swiftExecutableURL,
110
105
arguments: arguments. map ( \. description) ,
111
- standardOutput: standardOutputString ,
112
- standardError: standardErrorString,
106
+ standardOutput: standardOutputString ?? " " ,
107
+ standardError: standardErrorString ?? " " ,
113
108
exitStatus: Int ( process. terminationStatus)
114
109
)
115
110
}
You can’t perform that action at this time.
0 commit comments