summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2016-08-19 16:01:34 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-08-20 16:05:28 +0100
commit3bdb7b2e512b2f160360e95ed5b2be3871ec0b4b (patch)
tree3bb51761a629fe16f592966d4b59efadfc30b990
parentbafcff95e2b5e0b9a8c76ce46a62667bf6f49b00 (diff)
downloadopenembedded-core-3bdb7b2e512b2f160360e95ed5b2be3871ec0b4b.tar.gz
openembedded-core-3bdb7b2e512b2f160360e95ed5b2be3871ec0b4b.tar.bz2
openembedded-core-3bdb7b2e512b2f160360e95ed5b2be3871ec0b4b.zip
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@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/lib/oeqa/buildperf/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/buildperf/base.py b/meta/lib/oeqa/buildperf/base.py
index c1dc86e5db..30b8e47556 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]