mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 13:09:50 +00:00
resulttool: modify to be multi-machine
Currently, the code will sum all of the different machine results into a single report of the tests results. This can lead to confusion as to which machine may be experiencing issues. Modify the code to store the results in a per machine basis and report them accordingly. (From OE-Core rev: 7ba5a0af31605eaf91eb75b5f673f4caf81361dc) Signed-off-by: Jon Mason <jdmason@kudzu.us> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
5523c5a7e5
commit
bdc1b24bc2
@@ -56,7 +56,7 @@ class ResultToolTests(OESelftestTestCase):
|
||||
'test4': {'status': 'ERROR'},
|
||||
'test5': {'status': 'SKIPPED'}}}
|
||||
report = ResultsTextReport()
|
||||
result_report = report.get_aggregated_test_result(None, result_data)
|
||||
result_report = report.get_aggregated_test_result(None, result_data, 'DummyMachine')
|
||||
self.assertTrue(result_report['passed'] == 2, msg="Passed count not correct:%s" % result_report['passed'])
|
||||
self.assertTrue(result_report['failed'] == 2, msg="Failed count not correct:%s" % result_report['failed'])
|
||||
self.assertTrue(result_report['skipped'] == 1, msg="Skipped count not correct:%s" % result_report['skipped'])
|
||||
|
||||
Reference in New Issue
Block a user