Use proper tox directory when printing Tempest results

When running with run_tests.sh, the .tox venv is created under
/var/lib/tempest/.tox/tempest (as opposed to .tox/all).

Change-Id: Ic7e1a639d3e5283b0550347101be277028917a24
This commit is contained in:
Javier Pena 2016-09-14 16:51:27 +02:00
parent a8128aebd2
commit 7d4e949def
1 changed files with 2 additions and 2 deletions

View File

@ -248,8 +248,8 @@ result=$?
# Print output and generate subunit if results exist
if [ -d /var/lib/tempest ]; then
pushd /var/lib/tempest
$SUDO .tox/all/bin/testr last || true
$SUDO bash -c ".tox/all/bin/testr last --subunit > /var/tmp/packstack/latest/testrepository.subunit" || true
$SUDO .tox/tempest/bin/testr last || true
$SUDO bash -c ".tox/tempest/bin/testr last --subunit > /var/tmp/packstack/latest/testrepository.subunit" || true
popd
fi