[oe-commits] [openembedded-core] 05/21: oeqa.buildperf: fix crash when creating globalres.log
git at git.openembedded.org
git at git.openembedded.org
Fri Aug 19 15:51:37 UTC 2016
rpurdie pushed a commit to branch master-next
in repository openembedded-core.
commit 8532bf45ee16365f281da891c98954f233131c1a
Author: Markus Lehtonen <markus.lehtonen at linux.intel.com>
AuthorDate: Fri Aug 19 16:01:34 2016 +0300
oeqa.buildperf: fix crash when creating globalres.log
Fix a bug that was introduced when converting to unittest framework.
Signed-off-by: Markus Lehtonen <markus.lehtonen at linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/lib/oeqa/buildperf/base.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/lib/oeqa/buildperf/base.py b/meta/lib/oeqa/buildperf/base.py
index c1dc86e..30b8e47 100644
--- a/meta/lib/oeqa/buildperf/base.py
+++ b/meta/lib/oeqa/buildperf/base.py
@@ -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]
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list