X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Flibraries%2Fbash%2Ffunction%2Fcommon.sh;h=873c52ed630132a92ce9a986a9622e406c0cd007;hp=d34035a0031b50841c13749fa812f79cb123ce9c;hb=f7c08d2bd14872ad888df9b95b823ab1784aa737;hpb=f405486ac41503b547c9a5fee8134f85d338b0d5 diff --git a/resources/libraries/bash/function/common.sh b/resources/libraries/bash/function/common.sh index d34035a003..873c52ed63 100644 --- a/resources/libraries/bash/function/common.sh +++ b/resources/libraries/bash/function/common.sh @@ -787,6 +787,14 @@ function select_tags () { ${tfd}/report-iter-${NODENESS}-${FLAVOR}.md | eval ${sed_nics_sub_cmd}) || die ;; + *"report-coverage"* ) + test_sets=(${TEST_TAG_STRING//:/ }) + # Run only one test set per run + report_file=${test_sets[0]}.md + readarray -t test_tag_array <<< $(sed 's/ //g' \ + ${tfd}/report_coverage/${NODENESS}-${FLAVOR}/${report_file} | + eval ${sed_nics_sub_cmd}) || die + ;; * ) if [[ -z "${TEST_TAG_STRING-}" ]]; then # If nothing is specified, we will run pre-selected tests by