code-coverage: enable SCP jobs in code coverage reports
- There is conditional located in the wrapper of the generation of
reports used to call the script to merge code coverage
reports only if the test configuration belonged to code coverage,
by checking if the test groups parameter contain the word
"code-coverage". For SCP the code coverage test group does not contain such word hence now is included in the conditional the full name of SCP test group code coverage.
- A fix to the link in the landing page to show individual code coverage reports (SCP was not included before).
- In order to use other branches of qa-tools, an option was
added to include TEST_DEFINITIONS_TAG as possible qa-tools
branch for SCP jobs.
Signed-off-by: Saul Romero <saul.romero@arm.com>
Change-Id: Ifa25fa9160418f5797b2070095a16959da4e0ac5
diff --git a/script/qa-code-coverage.sh b/script/qa-code-coverage.sh
index 95cc32f..531e03b 100644
--- a/script/qa-code-coverage.sh
+++ b/script/qa-code-coverage.sh
@@ -30,7 +30,8 @@
REPORT_FOLDER=${CODE_COVERAGE_FOLDER}/lcov
QA_REPO=${QA_TOOLS_REPO:-$QA_REPO_PUBLIC}
-QA_REFSPEC=${QA_TOOLS_BRANCH:-master}
+QA_REFSPEC=${QA_TOOLS_BRANCH:-$TEST_DEFINITIONS_TAG}
+QA_REFSPEC=${QA_REFSPEC:-stable}
################################################################################