Skip to content

Commit a76423f

Browse files
committed
Skip both preview tests on macOS
1 parent 238be12 commit a76423f

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

IntegrationTests/Tests/SnippetDocumentationGenerationTests.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ final class SnippetDocumentationGenerationTests: ConcurrencyRequiringTestCase {
4444
}
4545

4646
func testPreviewDocumentationWithSnippets() throws {
47+
#if os(macOS)
48+
throw XCTSkip("Skipping integration tests due to rdar://134406349")
49+
#else
4750
let outputDirectory = try temporaryDirectory().appendingPathComponent("output")
4851

4952
let port = try getAvailablePort()
@@ -102,5 +105,6 @@ final class SnippetDocumentationGenerationTests: ConcurrencyRequiringTestCase {
102105

103106
// Send an interrupt to the SwiftPM parent process
104107
process.interrupt()
108+
#endif
105109
}
106110
}

IntegrationTests/Tests/SwiftDocCPreviewTests.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ import XCTest
1111

1212
final class SwiftDocCPreview: ConcurrencyRequiringTestCase {
1313
func testRunPreviewServerOnSamePortRepeatedly() throws {
14+
#if os(macOS)
15+
throw XCTSkip("Skipping integration tests due to rdar://134406349")
16+
#else
1417
// Because only a single server can bind to a given port at a time,
1518
// this test ensures that the preview server running in the `docc`
1619
// process exits when the an interrupt is sent to the `SwiftPM` process.
@@ -110,5 +113,6 @@ final class SwiftDocCPreview: ConcurrencyRequiringTestCase {
110113
// Send an interrupt to the SwiftPM parent process
111114
process.interrupt()
112115
}
116+
#endif
113117
}
114118
}

0 commit comments

Comments
 (0)