Add --timeout to selftest/parallel.sh
This commit is contained in:
parent
800608da2e
commit
a0a96e2721
1 changed files with 3 additions and 1 deletions
|
|
@ -11,6 +11,8 @@ PYTHON=${PYTHON:-python$VERSION}
|
|||
# test_socket swaps and kills the machine https://bugs.python.org/issue34587
|
||||
X=${X:-"-x test_socket"}
|
||||
|
||||
TIMEOUT=${TIMEOUT:-1800}
|
||||
|
||||
# parallel jobs, 0 lets Python decide what's best
|
||||
JOBS=${JOBS:-0}
|
||||
|
||||
|
|
@ -30,4 +32,4 @@ export OPENSSL_CONF=/non-existing-file
|
|||
$PYTHON -c 'import distutils' 2>/dev/null && export SETUPTOOLS_USE_DISTUTILS=stdlib || true
|
||||
|
||||
$PYTHON -m test.pythoninfo
|
||||
$PYTHON -m test -wW -j$JOBS $X
|
||||
$PYTHON -m test -wW -j$JOBS --timeout=$TIMEOUT $X
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue