diff options
-rwxr-xr-x | bootstrap-verify-perf.sh | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/bootstrap-verify-perf.sh b/bootstrap-verify-perf.sh index 47c71b6fb1..a944ea3653 100755 --- a/bootstrap-verify-perf.sh +++ b/bootstrap-verify-perf.sh @@ -204,6 +204,7 @@ case "$TEST_TAG" in VERIFY-PERF-L2 ) TAGS=('mrrANDnic_intel-x520-da2AND1t1cANDl2xcbase' 'mrrANDnic_intel-x520-da2AND1t1cANDl2bdbase') + ETAGS=('lbond_dpdk') ;; VERIFY-PERF-LISP ) TAGS=('mrrANDnic_intel-x520-da2AND1t1cANDlisp') @@ -213,6 +214,7 @@ case "$TEST_TAG" in ;; VERIFY-PERF-VHOST ) TAGS=('mrrANDnic_intel-x520-da2AND1t1cANDvhost') + ETAGS=('lbond_dpdk') ;; VERIFY-PERF-MEMIF ) TAGS=('pdrdiscANDnic_intel-x520-da2AND1t1cANDmemif' @@ -242,6 +244,7 @@ case "$TEST_TAG" in TAGS=('mrrANDnic_intel-x520-da2AND1t1cANDl2xcbase' 'mrrANDnic_intel-x520-da2AND1t1cANDl2bdbase' 'mrrANDnic_intel-x520-da2AND1t1cANDdot1q') + ETAGS=('lbond_dpdk') ;; VPP-VERIFY-PERF-LISP ) TAGS=('mrrANDnic_intel-x520-da2AND1t1cANDlisp') @@ -251,6 +254,7 @@ case "$TEST_TAG" in ;; VPP-VERIFY-PERF-VHOST ) TAGS=('mrrANDnic_intel-x520-da2AND1t1cANDvhost') + ETAGS=('lbond_dpdk') ;; VPP-VERIFY-PERF-MEMIF ) TAGS=('pdrdiscANDnic_intel-x520-da2AND1t1cANDmemif' @@ -277,10 +281,11 @@ case "$TEST_TAG" in esac # Catenate TAG selections by 'OR' -printf -v INCLUDES " --include %s " "${TAGS[@]}" +if [[ ! -z "$TAGS" ]]; then printf -v INCLUDES " --include %s " "${TAGS[@]}"; fi +if [[ ! -z "$ETAGS" ]]; then printf -v EXCLUDES " --exclude %s " "${ETAGS[@]}"; fi # Execute the test -pybot ${PYBOT_ARGS}${INCLUDES} tests/ +pybot ${PYBOT_ARGS}${INCLUDES}${EXCLUDES} tests/ RETURN_STATUS=$(echo $?) # Archive JOB artifacts in jenkins |