Jeremy Stanley 20419a871c Stop using select-mirror in slave scripts
It turns out that we pass a lot of args around simply for the
purpose of doing mirror selection. This goes away if everything
gets a mirror.

This change should be merged and then nodepool images updated before
proceeding with the child change removing use of mirror selection
parameters in jobs.

Co-Authored-By: Monty Taylor <mordred@inaugust.com>
Change-Id: I9198db5570631dcdea18b645beee27322e6f05f6
2014-07-29 18:44:28 +00:00

25 lines
675 B
Bash
Executable File

#!/bin/bash -xe
# Run coverage via tox. Also, run pip freeze on the
# resulting environment at the end so that we have a record of exactly
# what packages we ended up testing.
export NOSE_COVER_HTML=1
venv=cover
# Workaround the combo of tox running setup.py outside of virtualenv
# and RHEL having an old distribute. The next line can be removed
# when either get fixed.
python setup.py --version
tox -e$venv
result=$?
echo "Begin pip freeze output from test virtualenv:"
echo "======================================================================"
.tox/$venv/bin/pip freeze
echo "======================================================================"
exit $result