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
(cherry picked from commit 7d4e949def)
This commit is contained in:
Javier Pena
2016-09-14 16:51:27 +02:00
committed by David Moreau Simard
parent 9837b9a94b
commit e3771de207

View File

@@ -167,8 +167,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