Update batch runtests.sh

This commit is contained in:
rocky
2020-01-07 10:49:14 -05:00
parent eb3dac062d
commit 95bc0f1fbc

View File

@@ -14,23 +14,23 @@ function displaytime {
printf '%d seconds\n' $S printf '%d seconds\n' $S
} }
PYVERSION=${PYVERSION:-"3.5.5 2.7.14 3.2.6 3.3.7 3.4.8 2.6.9 3.6.4"} . ../admin-tools/pyenv-newer-versions
# PYVERSION=${PYVERSION:-"3.5.5"} # PYVERSIONS=${PYVERSIONS:-"3.7.6"}
USER=${USER:-rocky} USER=${USER:-rocky}
EMAIL=${EMAIL:-rb@dustyfeet.com} EMAIL=${EMAIL:-rb@dustyfeet.com}
MAX_TESTS=${MAX_TESTS:-800} MAX_TESTS=${MAX_TESTS:-800}
typeset -i RUN_STARTTIME=$(date +%s) typeset -i RUN_STARTTIME=$(date +%s)
for VERSION in $PYVERSION ; do for VERSION in $PYVERSIONS ; do
typeset -i rc=0 typeset -i rc=0
LOGFILE=/tmp/pyenvlib-$VERSION-$$.log LOGFILE=/tmp/pyenvlib-$VERSION-$$.log
if [[ $VERSION == '3.5.5' ]] ; then if [[ $VERSION == '3.5.6' ]] ; then
MAX_TESTS=224 MAX_TESTS=224
elif [[ $VERSION == '3.2.6' ]] ; then elif [[ $VERSION == '3.2.6' ]] ; then
MAX_TESTS=700 MAX_TESTS=700
elif [[ $VERSION == '3.6.4' ]] ; then elif [[ $VERSION == '3.6.9' ]] ; then
MAX_TESTS=400 MAX_TESTS=400
else else
MAX_TESTS=800 MAX_TESTS=800