summaryrefslogtreecommitdiff
path: root/Misc/NEWS.d/next/Tests
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-05-14 08:25:06 -0700
committerGitHub <noreply@github.com>2019-05-14 08:25:06 -0700
commitecd668d6d99ff03166427f02347454cfdf904a6c (patch)
tree29295b7180148ece495cf94430444efad2c2d27a /Misc/NEWS.d/next/Tests
parent8b3823ae16d68cf17ad037e46d7e49d26929a13b (diff)
downloadcpython-git-ecd668d6d99ff03166427f02347454cfdf904a6c.tar.gz
bpo-36915: regrtest always remove tempdir of worker processes (GH-13312)
When using multiprocessing (-jN option), worker processes now create their temporary directory inside the temporary directory of the main process. So the main process is able to remove temporary directories of worker processes even if they crash or when they are killed by regrtest on KeyboardInterrupt (CTRL+c). Rework also how multiprocessing arguments are parsed in main.py. (cherry picked from commit 3c93153f7db5dd9b06f229e61978fd9199b3c097) Co-authored-by: Victor Stinner <vstinner@redhat.com>
Diffstat (limited to 'Misc/NEWS.d/next/Tests')
-rw-r--r--Misc/NEWS.d/next/Tests/2019-05-14-14-12-24.bpo-36915.58b7pH.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Tests/2019-05-14-14-12-24.bpo-36915.58b7pH.rst b/Misc/NEWS.d/next/Tests/2019-05-14-14-12-24.bpo-36915.58b7pH.rst
new file mode 100644
index 0000000000..4eebfb4832
--- /dev/null
+++ b/Misc/NEWS.d/next/Tests/2019-05-14-14-12-24.bpo-36915.58b7pH.rst
@@ -0,0 +1,3 @@
+The main regrtest process now always removes all temporary directories of
+worker processes even if they crash or if they are killed on
+KeyboardInterrupt (CTRL+c).