aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/bash
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2020-06-11 12:17:41 +0200
committerTibor Frank <tifrank@cisco.com>2020-06-11 12:17:41 +0200
commit806a069bc5494d1c43dd9711e1512e518c823acd (patch)
treef33d8c5230d7faecf9fcc52535c1a2ef7bd13308 /resources/libraries/bash
parentc056a4fe51febfae290209c0d39b23bd63b6542a (diff)
Update selection of report-iterative test sets
- Create the same directory structure for report-iterative as it is for report-coverage. - Move files from report-iterative directory to created sub-directories. - Rename the moved files to keep the convention defined in report-coverage. - Update the corresponding functionality in resources/libraries/bash/function/common.sh The patches: - https://gerrit.fd.io/r/c/csit/+/27486 - https://gerrit.fd.io/r/c/csit/+/27484 - https://gerrit.fd.io/r/c/csit/+/27485 must be updated. Change-Id: I1aaf22690e3df5abf56893bb1d2d380debc54ddd Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources/libraries/bash')
-rw-r--r--resources/libraries/bash/function/common.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/resources/libraries/bash/function/common.sh b/resources/libraries/bash/function/common.sh
index 3d59506e50..ec335f171f 100644
--- a/resources/libraries/bash/function/common.sh
+++ b/resources/libraries/bash/function/common.sh
@@ -784,8 +784,11 @@ function select_tags () {
eval ${sed_nics_sub_cmd}) || die
;;
*"report-iterative"* )
+ 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_iterative/${DUT}-${NODENESS}-${FLAVOR}.md |
+ ${tfd}/report_iterative/${NODENESS}-${FLAVOR}/${report_file} |
eval ${sed_nics_sub_cmd}) || die
;;
*"report-coverage"* )