CI: Fix coverage analysis.
Fix for parsing testplan. Signed-off-by: Arkadiusz Cholewinski <arkadiuszx.cholewinski@intel.com>
This commit is contained in:
parent
d1ef9167da
commit
370dadbdab
1 changed files with 12 additions and 0 deletions
|
@ -175,6 +175,18 @@ class Json_report:
|
||||||
test_suite['platforms'].append(testsuite['platform'])
|
test_suite['platforms'].append(testsuite['platform'])
|
||||||
sub_component["test_suites"].append(test_suite)
|
sub_component["test_suites"].append(test_suite)
|
||||||
else:
|
else:
|
||||||
|
if 'qemu' in testsuite['platform'] or 'native' in testsuite['platform']:
|
||||||
|
if test_suite['status'] == "":
|
||||||
|
test_suite['status'] = 'sim_only'
|
||||||
|
|
||||||
|
if test_suite['status'] == 'hw_only':
|
||||||
|
test_suite['status'] = 'mixed'
|
||||||
|
else:
|
||||||
|
if test_suite['status'] == "":
|
||||||
|
test_suite['status'] = 'hw_only'
|
||||||
|
|
||||||
|
if test_suite['status'] == 'sim_only':
|
||||||
|
test_suite['status'] = 'mixed'
|
||||||
test_case = {}
|
test_case = {}
|
||||||
test_cases = test_suite['test_cases']
|
test_cases = test_suite['test_cases']
|
||||||
known_testcase_flag = False
|
known_testcase_flag = False
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue