cpython/Lib/test/libregrtest
Victor Stinner 719a15b325 [3.6] bpo-31160: Backport reap_children() fixes from master to 3.6 (#3060)
* bpo-31160: Fix test_builtin for zombie process (#3043)

PtyTests.run_child() now calls os.waitpid() to read the exit status
of the child process to avoid creating zombie process and leaking
processes in the background.
(cherry picked from commit 4baca1b0f7)

* bpo-31160: regrtest now reaps child processes (#3044)

Add a post_test_cleanup() function which currently only calls
support.reap_children().
(cherry picked from commit e3510d74aa)

* bpo-31160: test_builtin: don't check waitpid() status (#3050)

(cherry picked from commit 3ca9f50f96)

* bpo-31160: test_tempfile: Fix reap_children() warning (#3056)

TestRandomNameSequence.test_process_awareness() now calls
os.waitpid() to avoid leaking a zombie process.
(cherry picked from commit 6c8c2943d9)
2017-08-10 16:02:00 +02:00
..
__init__.py bpo-30822: Exclude tzdata from regrtest --all (#2775) (#2777) 2017-07-20 17:08:48 +02:00
cmdline.py bpo-30822: Exclude tzdata from regrtest --all (#2775) (#2777) 2017-07-20 17:08:48 +02:00
main.py bpo-30764: Fix regrtest --fail-env-changed --forever (#2536) (#2539) 2017-07-03 12:50:36 +02:00
refleak.py [3.6] bpo-29512, bpo-30776: Backport regrtest enhancements from master to 3.6 (#2513) 2017-06-30 17:31:16 +02:00
runtest.py [3.6] bpo-31160: Backport reap_children() fixes from master to 3.6 (#3060) 2017-08-10 16:02:00 +02:00
runtest_mp.py Synchronize libregrtest from master to 3.6 (#2244) 2017-06-16 14:39:09 +02:00
save_env.py regrtest: always show before/after of modified env (#1192) (#1406) 2017-05-03 02:12:22 +02:00
setup.py Issue #26295: When using "python3 -m test --testdir=TESTDIR", regrtest doesn't 2016-03-30 02:32:52 +02:00