diff --git a/devstack-vm-gate-wrap.sh b/devstack-vm-gate-wrap.sh index f8a13c7d..63997a01 100755 --- a/devstack-vm-gate-wrap.sh +++ b/devstack-vm-gate-wrap.sh @@ -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 diff --git a/devstack-vm-gate.sh b/devstack-vm-gate.sh index 5dabe8b4..c971db7b 100755 --- a/devstack-vm-gate.sh +++ b/devstack-vm-gate.sh @@ -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