Add DEVSTACK_GATE_TEMPEST_ALL variable

This switch is set to run all tempest tests
Implements: blueprint periodic-tests-tempest
Depends on https://review.openstack.org/#/c/32182/

Change-Id: I244b5625ebc92c8a112c8f5be71c902b11d3c8f3
This commit is contained in:
Giampaolo Lauria
2013-06-07 16:01:55 -04:00
parent 059e1ec3a9
commit 1ba3f9a7f8
2 changed files with 7 additions and 1 deletions

View File

@@ -76,6 +76,9 @@ export DEVSTACK_GATE_VIRT_DRIVER=${DEVSTACK_GATE_VIRT_DRIVER:-libvirt}
# is the project being gated.
export DEVSTACK_GATE_TEMPEST_FULL=${DEVSTACK_GATE_TEMPEST_FULL:-0}
# Set to 1 to run all tempest tests
export DEVSTACK_GATE_TEMPEST_ALL=${DEVSTACK_GATE_TEMPEST_ALL:-0}
export BASE=/opt/stack
# Set GATE_SCRIPT_DIR to point to devstack-gate in the workspace so that

View File

@@ -223,7 +223,10 @@ if [ "$DEVSTACK_GATE_TEMPEST" -eq "1" ]; then
echo "Starting coverage data collection"
sudo -H -u stack python -m tools/tempest_coverage -c start --combine
fi
if [[ "$DEVSTACK_GATE_TEMPEST_FULL" -eq "1" ]]; then
if [[ "$DEVSTACK_GATE_TEMPEST_ALL" -eq "1" ]]; then
echo "Running tempest all test suite"
sudo -H -u stack tox -eall
elif [[ "$DEVSTACK_GATE_TEMPEST_FULL" -eq "1" ]]; then
echo "Running tempest full test suite"
sudo -H -u stack tox -efull
else