summaryrefslogtreecommitdiffstats
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:06:02 +0100
commit9cabc180166005f6619ade5e735f48e32e384f7d (patch)
tree15eaa2451645c47ec23e44947f6cf7313d3545f4
parentb26c43c13eb959cb3f18b402d399fa8292e5fc7a (diff)
downloadpoky-9cabc180166005f6619ade5e735f48e32e384f7d.tar.gz
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>
-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):
173 git_tag_rev = self.git_revision 173 git_tag_rev = self.git_revision
174 174
175 values = ['0'] * 12 175 values = ['0'] * 12
176 for status, test in self.all_results(): 176 for status, (test, msg) in self.all_results():
177 if status not in ['SUCCESS', 'FAILURE', 'EXP_SUCCESS']: 177 if status not in ['SUCCESS', 'FAILURE', 'EXP_SUCCESS']:
178 continue 178 continue
179 (t_ind, t_len), (s_ind, s_len) = gr_map[test.name] 179 (t_ind, t_len), (s_ind, s_len) = gr_map[test.name]