summaryrefslogtreecommitdiffstats
path: root/Doc/tools
diff options
context:
space:
mode:
authorGregory P. Smith <greg@krypto.org>2019-10-14 20:40:32 (GMT)
committerGitHub <noreply@github.com>2019-10-14 20:40:32 (GMT)
commit4f0587f161786318cdfa22c42459676fa42aacb6 (patch)
tree809925c8814cd92df0dd485ba6a63a0fb8d8e59a /Doc/tools
parentcc06217d9d2b2d9641baabc96be62a65301bbaf9 (diff)
downloadcpython-4f0587f161786318cdfa22c42459676fa42aacb6.zip
cpython-4f0587f161786318cdfa22c42459676fa42aacb6.tar.gz
cpython-4f0587f161786318cdfa22c42459676fa42aacb6.tar.bz2
[3.8] bpo-38456: Use /bin/true in test_subprocess (GH-16737)
* [3.8] bpo-38456: Use /bin/true in test_subprocess (GH-16736) Instead of sys.executable, "-c", "pass" or "import sys; sys.exit(0)" use /bin/true when it is available. On a reasonable machine this shaves up to two seconds wall time off the otherwise ~40sec execution on a --with-pydebug build. It should be more notable on many buildbots or overloaded slower I/O systems (CI, etc).. (cherry picked from commit 67b93f80c764bca01c81c989d74a99df208bea4d) * Handle when there is no 'true' command backport of 46113e0cf32748f66cf64cd633984d143b433cd1 by Pablo Galindo.
Diffstat (limited to 'Doc/tools')
0 files changed, 0 insertions, 0 deletions