mirror of
https://git.yoctoproject.org/poky
synced 2026-04-18 12:32:12 +02:00
oeqa.buildperf: fix crash when creating globalres.log
Fix a bug that was introduced when converting to unittest framework. (From OE-Core rev: 3bdb7b2e512b2f160360e95ed5b2be3871ec0b4b) Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
b26c43c13e
commit
9cabc18016
@@ -173,7 +173,7 @@ class BuildPerfTestResult(unittest.TextTestResult):
|
||||
git_tag_rev = self.git_revision
|
||||
|
||||
values = ['0'] * 12
|
||||
for status, test in self.all_results():
|
||||
for status, (test, msg) in self.all_results():
|
||||
if status not in ['SUCCESS', 'FAILURE', 'EXP_SUCCESS']:
|
||||
continue
|
||||
(t_ind, t_len), (s_ind, s_len) = gr_map[test.name]
|
||||
|
||||
Reference in New Issue
Block a user