if hash parallel 2>/dev/null; then
export -f run_tox
parallel --jobs 200% "run_tox $ARCHIVE_TOX_DIR {}" ::: ${TOX_ENVS[*]}
if hash parallel 2>/dev/null; then
export -f run_tox
parallel --jobs 200% "run_tox $ARCHIVE_TOX_DIR {}" ::: ${TOX_ENVS[*]}
for e in "${failed_envs[@]}"; do
echo "cat $ARCHIVE_TOX_DIR/tox-$e.log"
cat "$ARCHIVE_TOX_DIR/tox-$e.log"
for e in "${failed_envs[@]}"; do
echo "cat $ARCHIVE_TOX_DIR/tox-$e.log"
cat "$ARCHIVE_TOX_DIR/tox-$e.log"