Skip to content

Commit 4391b22

Browse files
authored
Merge pull request #2365 from swiftlang/revert-2351-skip-amazon-linux
Revert "Temporarily skip macro tests on Amazon Linux"
2 parents 0e061c5 + 525af90 commit 4391b22

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

Sources/SKTestSupport/SkipUnless.swift

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -129,16 +129,6 @@ package actor SkipUnless {
129129
try XCTSkipUnless(Platform.current == .windows, message)
130130
}
131131

132-
package static func platformIsNotAmazonLinux(_ message: String) throws {
133-
guard Platform.current == .linux,
134-
let release = try? String(contentsOf: URL(filePath: "/etc/system-release"), encoding: .utf8)
135-
else {
136-
return
137-
}
138-
139-
try XCTSkipUnless(!release.hasPrefix("Amazon"), message)
140-
}
141-
142132
package static func platformSupportsTaskPriorityElevation() throws {
143133
#if os(macOS)
144134
guard #available(macOS 14.0, *) else {
@@ -159,7 +149,6 @@ package actor SkipUnless {
159149
Platform.current != .windows,
160150
"Temporarily skipping as we need to fix these tests to use the cmake-built swift-syntax libraries on Windows."
161151
)
162-
try SkipUnless.platformIsNotAmazonLinux("https://github.com/swiftlang/sourcekit-lsp/issues/2350")
163152

164153
return try await shared.skipUnlessSupported(file: file, line: line) {
165154
do {

0 commit comments

Comments
 (0)