X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=bootstrap-verify-perf.sh;h=c16240821c25fc1be813d5d97f2f0473d239281d;hp=746d1a0a584503320c27976d52081dfb97cf48c5;hb=bea34e37b99cd3312dfb5733edea7586fbc8e1c6;hpb=4c597cafd320c1e68f81768e14abc9f89bbc07e2 diff --git a/bootstrap-verify-perf.sh b/bootstrap-verify-perf.sh index 746d1a0a58..c16240821c 100755 --- a/bootstrap-verify-perf.sh +++ b/bootstrap-verify-perf.sh @@ -76,7 +76,15 @@ function cancel_reservation { # On script exit we cancel the reservation and delete all vpp packages trap "cancel_reservation ${WORKING_TOPOLOGY}" EXIT -# run performance test suite -pybot -L TRACE \ - -v TOPOLOGY_PATH:${WORKING_TOPOLOGY} \ - -s performance tests/ + +if [ ! -z "$TEST_TAG" ]; then +# run specific performance tests by tag if variable is set + pybot -L TRACE \ + -v TOPOLOGY_PATH:${WORKING_TOPOLOGY} \ + -i $TEST_TAG tests/ +else +# run full performance test suite + pybot -L TRACE \ + -v TOPOLOGY_PATH:${WORKING_TOPOLOGY} \ + -s performance tests/ +fi