[gnome-continuous-yocto/gnomeostree-3.28-rocko: 1986/8267] oeqa.buildperf: fix crash when creating globalres.log
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous-yocto/gnomeostree-3.28-rocko: 1986/8267] oeqa.buildperf: fix crash when creating globalres.log
- Date: Sat, 16 Dec 2017 22:35:46 +0000 (UTC)
commit 9cabc180166005f6619ade5e735f48e32e384f7d
Author: Markus Lehtonen <markus lehtonen linux intel com>
Date: 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.
(From OE-Core rev: 3bdb7b2e512b2f160360e95ed5b2be3871ec0b4b)
Signed-off-by: Markus Lehtonen <markus lehtonen linux intel com>
Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>
meta/lib/oeqa/buildperf/base.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
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]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]