summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa
diff options
context:
space:
mode:
authorJon Mason <jdmason@kudzu.us>2019-06-02 14:29:12 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-06-04 09:09:42 +0100
commitcb153e8da8897080e128d7e29d6a1f48e1190fdf (patch)
treeb749b8dfe889f16fadc0a46c66c4e5dd8c086795 /meta/lib/oeqa
parentc113a83dd5ef6dbf8c4bbaf409628dcfd73af283 (diff)
downloadpoky-cb153e8da8897080e128d7e29d6a1f48e1190fdf.tar.gz
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: 16d4031ea5df8a4ddfdb937d35464c09e1abd10e) Signed-off-by: Jon Mason <jdmason@kudzu.us> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa')
-rw-r--r--meta/lib/oeqa/selftest/cases/resulttooltests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/cases/resulttooltests.py b/meta/lib/oeqa/selftest/cases/resulttooltests.py
index 10eb9c12d9..dac5c46801 100644
--- a/meta/lib/oeqa/selftest/cases/resulttooltests.py
+++ b/meta/lib/oeqa/selftest/cases/resulttooltests.py
@@ -56,7 +56,7 @@ class ResultToolTests(OESelftestTestCase):
56 'test4': {'status': 'ERROR'}, 56 'test4': {'status': 'ERROR'},
57 'test5': {'status': 'SKIPPED'}}} 57 'test5': {'status': 'SKIPPED'}}}
58 report = ResultsTextReport() 58 report = ResultsTextReport()
59 result_report = report.get_aggregated_test_result(None, result_data) 59 result_report = report.get_aggregated_test_result(None, result_data, 'DummyMachine')
60 self.assertTrue(result_report['passed'] == 2, msg="Passed count not correct:%s" % result_report['passed']) 60 self.assertTrue(result_report['passed'] == 2, msg="Passed count not correct:%s" % result_report['passed'])
61 self.assertTrue(result_report['failed'] == 2, msg="Failed count not correct:%s" % result_report['failed']) 61 self.assertTrue(result_report['failed'] == 2, msg="Failed count not correct:%s" % result_report['failed'])
62 self.assertTrue(result_report['skipped'] == 1, msg="Skipped count not correct:%s" % result_report['skipped']) 62 self.assertTrue(result_report['skipped'] == 1, msg="Skipped count not correct:%s" % result_report['skipped'])