Skip to content

Commit

Permalink
[6.0] Disable part of a test that fails with Swift Testing in the too…
Browse files Browse the repository at this point in the history
…lchain. (swiftlang#7901)

(cherry picked from commit 5b6542d)
grynspan authored and xedin committed Aug 23, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 708f50b commit ef08bad
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Tests/CommandsTests/TestCommandTests.swift
Original file line number Diff line number Diff line change
@@ -140,9 +140,6 @@ final class TestCommandTests: CommandsTestCase {
let xUnitOutput = fixturePath.appending("result.xml")
// Run tests in parallel with verbose output.
let stdout = try await SwiftPM.Test.execute(["--parallel", "--verbose", "--xunit-output", xUnitOutput.pathString], packagePath: fixturePath).stdout
// in "swift test" test output goes to stdout
XCTAssertNoMatch(stdout, .contains("passed"))
XCTAssertNoMatch(stdout, .contains("failed"))

// Check the xUnit output.
XCTAssertFileExists(xUnitOutput)

0 comments on commit ef08bad

Please sign in to comment.