Skip to content

Commit d021851

Browse files
gbarkadiuszfabiobaltieri
authored andcommitted
CI: Coverage: Fix: Get component name from testsuite name.
Get component name from testsuite name instead of testcase identifier. Signed-off-by: Arkadiusz Cholewinski <[email protected]>
1 parent 5cc2601 commit d021851

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/ci/coverage/coverage_analysis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def parse_testplan(self, testplan_path):
5353
for testsuite in element:
5454
for testcase in testsuite['testcases']:
5555
if testcase['status'] == 'None':
56-
testcase_name = testcase['identifier']
56+
testcase_name = testsuite['name']
5757
component_name = testcase_name[:testcase_name.find('.')]
5858
component = {
5959
"name": component_name,

0 commit comments

Comments
 (0)