Skip to content

Commit 4811dbb

Browse files
committed
Correctly run the test
1 parent 2150aa0 commit 4811dbb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Tests/Foundation/Tests/TestProcess.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -745,6 +745,8 @@ class TestProcess : XCTestCase {
745745
shouldRunLock.unlock()
746746

747747
group.wait()
748+
#else
749+
throw XCTSkip()
748750
#endif
749751
}
750752

@@ -915,6 +917,7 @@ class TestProcess : XCTestCase {
915917
("test_currentDirectory", test_currentDirectory),
916918
("test_pipeCloseBeforeLaunch", test_pipeCloseBeforeLaunch),
917919
("test_multiProcesses", test_multiProcesses),
920+
("test_currentDirectoryDoesNotChdirParentProcess", test_currentDirectoryDoesNotChdirParentProcess),
918921
]
919922

920923
#if !os(Windows)

0 commit comments

Comments
 (0)