Merge "Enable log capturing"

This commit is contained in:
Jenkins
2012-12-18 23:01:57 +00:00
committed by Gerrit Code Review

View File

@@ -164,11 +164,11 @@ if [ "$DEVSTACK_GATE_TEMPEST" -eq "1" ]; then
fi
cd $BASE/new/tempest
echo "Running tempest smoke tests"
sudo -H -u stack NOSE_XUNIT_FILE=nosetests-smoke.xml nosetests --with-xunit -sv --nologcapture --attr=type=smoke tempest
sudo -H -u stack NOSE_XUNIT_FILE=nosetests-smoke.xml nosetests --with-xunit -sv --attr=type=smoke tempest
RETVAL=$?
if [[ $RETVAL = 0 && "$DEVSTACK_GATE_TEMPEST_FULL" -eq "1" ]]; then
echo "Running tempest full test suite"
sudo -H -u stack NOSE_XUNIT_FILE=nosetests-full.xml nosetests --with-xunit -sv --nologcapture -a '!smoke' tempest
sudo -H -u stack NOSE_XUNIT_FILE=nosetests-full.xml nosetests --with-xunit -sv -a '!smoke' tempest
fi
else
# Jenkins expects at least one nosetests file. If we're not running