Skip to content

Disable failing SwiftBuild test on AmazonLinux 2 #8546

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 23, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Tests/CommandsTests/BuildCommandTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -859,6 +859,12 @@ class BuildCommandSwiftBuildTests: BuildCommandTestCases {
}

override func testParseableInterfaces() async throws {
#if os(Linux)
if FileManager.default.contents(atPath: "/etc/system-release")
.map { String(decoding: $0, as: UTF8.self) == "Amazon Linux release 2 (Karoo)\n" } ?? false {
throw XCTSkip("https://github.com/swiftlang/swift-package-manager/issues/8545: Test currently fails on Amazon Linux 2")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note, this should be referencing #8560, not #8545.

#8560 is still open and tracks the actual fix, #8545 was just tracking the test failing because it wasn't properly being skipped.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The GitHub issue reference is updated in #8569

}
#endif
try await fixture(name: "Miscellaneous/ParseableInterfaces") { fixturePath in
do {
let result = try await build(["--enable-parseable-module-interfaces"], packagePath: fixturePath)
Expand Down