From 806a069bc5494d1c43dd9711e1512e518c823acd Mon Sep 17 00:00:00 2001 From: Tibor Frank Date: Thu, 11 Jun 2020 12:17:41 +0200 Subject: 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 --- resources/libraries/bash/function/common.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'resources/libraries') 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"* ) -- cgit 1.2.3-korg