bpo-38456: Use /bin/true in test_subprocess (GH-16736)
* bpo-38456: Use /bin/true in test_subprocess. 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).
G
Gregory P. Smith committed
67b93f80c764bca01c81c989d74a99df208bea4d
Parent: f3751ef
Committed by GitHub <noreply@github.com>
on 10/12/2019, 11:35:53 PM