mirror of https://github.com/ARMmbed/mbed-os.git
BugFix: Fixed JUNIT ioper test suite reporter which reported all test cases for each TestSuite
parent
7b0b9e8f32
commit
30fc9ca372
|
@ -82,6 +82,7 @@ class IOperTestRunner():
|
||||||
muts_list = mbeds.list_mbeds()
|
muts_list = mbeds.list_mbeds()
|
||||||
test_base = IOperTestCaseBase()
|
test_base = IOperTestCaseBase()
|
||||||
|
|
||||||
|
self.raw_test_results = {}
|
||||||
for i, mut in enumerate(muts_list):
|
for i, mut in enumerate(muts_list):
|
||||||
result = []
|
result = []
|
||||||
self.raw_test_results[mut['platform_name']] = []
|
self.raw_test_results[mut['platform_name']] = []
|
||||||
|
|
|
@ -218,7 +218,7 @@ class ReportExporter():
|
||||||
|
|
||||||
for platform in sorted(test_result_ext.keys()):
|
for platform in sorted(test_result_ext.keys()):
|
||||||
# {platform : ['Platform', 'Result', 'Scope', 'Description'])
|
# {platform : ['Platform', 'Result', 'Scope', 'Description'])
|
||||||
|
test_cases = []
|
||||||
for tr_result in test_result_ext[platform]:
|
for tr_result in test_result_ext[platform]:
|
||||||
result, name, scope, description = tr_result
|
result, name, scope, description = tr_result
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue