Skip to content

Commit 3094280

Browse files
committed
Revert "Revert "Reenable exit tests on Ubuntu 20.04 (#1343)""
This reverts commit 4ed5eb4.
1 parent 8369ba9 commit 3094280

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

Package.swift

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -73,20 +73,11 @@ let wasiLibcCSettings: [CSetting] = [
7373
.define("_WASI_EMULATED_MMAN", .when(platforms: [.wasi])),
7474
]
7575

76-
var testOnlySwiftSettings: [SwiftSetting] = [
76+
let testOnlySwiftSettings: [SwiftSetting] = [
7777
// The latest Windows toolchain does not yet have exit tests in swift-testing
7878
.define("FOUNDATION_EXIT_TESTS", .when(platforms: [.macOS, .linux, .openbsd]))
7979
]
8080

81-
#if os(Linux)
82-
import FoundationEssentials
83-
84-
if ProcessInfo.processInfo.operatingSystemVersionString.hasPrefix("Ubuntu 20.") {
85-
// Exit tests currently hang indefinitely on Ubuntu 20.
86-
testOnlySwiftSettings.removeFirst()
87-
}
88-
#endif
89-
9081
let package = Package(
9182
name: "swift-foundation",
9283
platforms: [.macOS("15"), .iOS("18"), .tvOS("18"), .watchOS("11")],

0 commit comments

Comments
 (0)