         let parentPgrp = Int(getpgrp())
         XCTAssertNotEqual(parentPgrp, childPgrp, "Child process group \(parentPgrp) should not equal parent process group \(childPgrp)")
     }
+#endif
 
     static var allTests: [(String, (TestProcess) -> () throws -> Void)] {
         var tests = [

            ("test_currentDirectory", test_currentDirectory),
            ("test_pipeCloseBeforeLaunch", test_pipeCloseBeforeLaunch),
            ("test_multiProcesses", test_multiProcesses),
            ("test_processGroup", test_processGroup),
        ]

#if !os(Windows)

            ("test_interrupt", test_interrupt),
            ("test_suspend_resume", test_suspend_resume),
            ("test_fileDescriptorsAreNotInherited", test_fileDescriptorsAreNotInherited),
            ("test_processGroup", test_processGroup),
        ]
#endif
        return tests
