Skip to content

Commit b946d69

Browse files
committed
[validation-test] Expand Glibc import check
Glibc needs to be imported on all non-Darwin platforms. Besides Linux, this includes FreeBSD and Android as well.
1 parent 6cea460 commit b946d69

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

validation-test/StdlibUnittest/ChildProcessShutdown/FailIfChildCrashesDuringShutdown.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// REQUIRES: executable_test
33

44
import StdlibUnittest
5-
#if os(Linux)
5+
#if os(Linux) || os(FreeBSD) || os(Android)
66
import Glibc
77
#else
88
import Darwin

validation-test/StdlibUnittest/ChildProcessShutdown/FailIfChildExitsDuringShutdown.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// REQUIRES: executable_test
33

44
import StdlibUnittest
5-
#if os(Linux)
5+
#if os(Linux) || os(FreeBSD) || os(Android)
66
import Glibc
77
#else
88
import Darwin

validation-test/StdlibUnittest/ChildProcessShutdown/PassIfChildCrashedDuringTestExecution.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// REQUIRES: executable_test
33

44
import StdlibUnittest
5-
#if os(Linux)
5+
#if os(Linux) || os(FreeBSD) || os(Android)
66
import Glibc
77
#else
88
import Darwin

0 commit comments

Comments
 (0)