testr needs to run with CWD being the tempest directory

Change-Id: Iec321fc0947e783473866af222fb5d81bf1ae4a7
This commit is contained in:
David Moreau Simard 2016-01-25 10:47:44 -05:00
parent 47df749a23
commit 72faffebe0
1 changed files with 2 additions and 0 deletions

View File

@ -61,6 +61,8 @@ $SUDO python setup.py install_puppet_modules
result=$?
# Generate subunit
pushd /var/lib/tempest
/var/lib/tempest/.venv/bin/testr last --subunit > /var/tmp/packstack/latest/testrepository.subunit
popd
exit $result