Skip to content

Commit

Permalink
mask out tests that are failing on Linux (#996)
Browse files Browse the repository at this point in the history
  • Loading branch information
QuietMisdreavus authored Jul 25, 2024
1 parent 2e3e73a commit 3d58514
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,9 @@ class ExternalLinkableTests: XCTestCase {
XCTAssertEqual(decoded, summary)
}
}


// TODO: Remove this #if once https://github.com/apple/swift-corelibs-foundation/issues/5028 is resolved
#if os(macOS)
func testVariantSummaries() throws {
let (bundle, context) = try testBundleAndContext(named: "MixedLanguageFramework")
let converter = DocumentationNodeConverter(bundle: bundle, context: context)
Expand Down Expand Up @@ -591,7 +593,8 @@ class ExternalLinkableTests: XCTestCase {
XCTAssertEqual(decoded, summary)
}
}

#endif

func testDecodingLegacyData() throws {
let legacyData = """
{
Expand Down
3 changes: 2 additions & 1 deletion Tests/SwiftDocCUtilitiesTests/ConvertActionTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ import Markdown
@testable import SwiftDocCTestUtilities

class ConvertActionTests: XCTestCase {
#if !os(iOS)
// TODO: Change this back to `#if !os(iOS)` once https://github.com/apple/swift-corelibs-foundation/issues/5028 is resolved
#if os(macOS)
let imageFile = Bundle.module.url(
forResource: "TestBundle", withExtension: "docc", subdirectory: "Test Bundles")!
.appendingPathComponent("figure1.png")
Expand Down

0 comments on commit 3d58514

Please sign in to comment.