1 https://raw.githubusercontent.com/omniosorg/omnios-build/master/build/python37/patches/regrtest-processgroup.patch
3 Running some sub-tests in process groups causes tests to hang - the reason it
5 Disable the use of process groups for now.
7 diff -wpruN '--exclude=*.orig' a~/Lib/test/libregrtest/runtest_mp.py a/Lib/test/libregrtest/runtest_mp.py
8 --- a~/Lib/test/libregrtest/runtest_mp.py 1970-01-01 00:00:00
9 +++ a/Lib/test/libregrtest/runtest_mp.py 1970-01-01 00:00:00
10 @@ -32,7 +32,8 @@ assert MAIN_PROCESS_TIMEOUT >= PROGRESS_
11 # Time to wait until a worker completes: should be immediate
12 JOIN_TIMEOUT = 30.0 # seconds
14 -USE_PROCESS_GROUP = (hasattr(os, "setsid") and hasattr(os, "killpg"))
15 +USE_PROCESS_GROUP = (hasattr(os, "setsid") and hasattr(os, "killpg")
16 + and not sys.platform.startswith("sunos"))
19 def must_stop(result, ns):