From bea34e37b99cd3312dfb5733edea7586fbc8e1c6 Mon Sep 17 00:00:00 2001 From: pmikus Date: Mon, 4 Apr 2016 15:26:41 +0200 Subject: Add tag support to boostrap-verify-perf - support tags in vpp-verify-perfomance-* jenkins jobs Change-Id: I7e3abfe9e552a3f2fa9ebf95df9b48bcbae3561a Signed-off-by: pmikus --- bootstrap-verify-perf.sh | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'bootstrap-verify-perf.sh') 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 -- cgit 1.2.3-korg