X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Ftox-run.sh;h=68a5af9420f2c13d898b44876bd0ed719fad6cf8;hb=4f408ffd2980cb48efedc47d5b73d3fc4b20dd3b;hp=91e040ada37380420b2d9d4cd8a31b1f25ddf552;hpb=c80aa5b36c3a2d08dc47d9c5d1cc2366cd161863;p=releng%2Fglobal-jjb.git diff --git a/shell/tox-run.sh b/shell/tox-run.sh index 91e040ad..68a5af94 100644 --- a/shell/tox-run.sh +++ b/shell/tox-run.sh @@ -13,6 +13,9 @@ echo "---> tox-run.sh" # do not use -o pipefail set -eux +#Ensure that tox from tox-install.sh takes precedence. +PATH=$HOME/.local/bin:$PATH + ARCHIVE_TOX_DIR="$WORKSPACE/archives/tox" ARCHIVE_DOC_DIR="$WORKSPACE/archives/docs" mkdir -p "$ARCHIVE_TOX_DIR" @@ -27,6 +30,9 @@ if [[ -d /opt/pyenv ]]; then export TOX_TESTENV_PASSENV=PYTHONPATH fi +#Useful debug +tox --version + PARALLEL="${PARALLEL:-true}" if [[ ${PARALLEL,,} = true ]]; then if [[ -n ${TOX_ENVS:-} ]]; then