Avoid tempest reconfiguration when already configured

* This change distinguishes the stable and master branches

Change-Id: I6224b2b75aefb4d54905da99470f7771e1a73ef9
This commit is contained in:
Attila Fazekas
2012-12-12 18:51:05 +01:00
parent b0e0fbf086
commit 610a56430e

View File

@@ -157,9 +157,11 @@ else
fi
if [ "$DEVSTACK_GATE_TEMPEST" -eq "1" ]; then
echo "Configuring tempest"
cd $BASE/new/devstack
sudo -H -u stack ./tools/configure_tempest.sh
if [ ! -f "$DEST/tempest/etc/tempest.conf" ]; then
echo "Configuring tempest"
cd $BASE/new/devstack
sudo -H -u stack ./tools/configure_tempest.sh
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