X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Flibraries%2Fbash%2Ffunction%2Fcommon.sh;h=2075f8fbd1b8dc887d69d0cbd1e9ac492d787af1;hp=921b588cc7c73eed114e6c887647306f0ac9e759;hb=494c42cf77c2571a64854256a68abd7f180cd5d6;hpb=3fc1394954fbb06488e81102cc4cd9965ab15a22 diff --git a/resources/libraries/bash/function/common.sh b/resources/libraries/bash/function/common.sh index 921b588cc7..2075f8fbd1 100644 --- a/resources/libraries/bash/function/common.sh +++ b/resources/libraries/bash/function/common.sh @@ -660,6 +660,7 @@ function select_tags () { case "${TEST_CODE}" in *"3n-hsw"*) test_tag_array+=("!drv_avf") + test_tag_array+=("!ipsechwNOTnic_intel-xl710") ;; *"2n-skx"*) test_tag_array+=("!ipsechw") @@ -690,10 +691,15 @@ function select_tags () { # We will prefix with perftest to prevent running other tests # (e.g. Functional). prefix="perftestAND" + set +x if [[ "${TEST_CODE}" == "vpp-"* ]]; then # Automatic prefixing for VPP jobs to limit the NIC used and # traffic evaluation to MRR. - prefix="${prefix}mrrAND${DEFAULT_NIC}AND" + if [[ "${TEST_TAG_STRING-}" == *"nic_"* ]]; then + prefix="${prefix}mrrAND" + else + prefix="${prefix}mrrAND${DEFAULT_NIC}AND" + fi fi for tag in "${test_tag_array[@]}"; do if [[ "${tag}" == "!"* ]]; then @@ -705,6 +711,7 @@ function select_tags () { TAGS+=("${prefix}${tag}") fi done + set -x }