summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/buildperf/base.py
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2016-08-26 10:33:08 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-09-03 09:58:41 +0100
commit6722b0412c60d21fc988a671f4d9583bf6f06801 (patch)
tree1d493647d703be946d32aa2230b4781f1a830c1f /meta/lib/oeqa/buildperf/base.py
parent40d8bef6836f6c89461b04951ff75e538d08785e (diff)
downloadpoky-6722b0412c60d21fc988a671f4d9583bf6f06801.tar.gz
oeqa.buildperf: fix checking of invalid results
The test status check done when writing globalres log was incorrect. (From OE-Core rev: 3efbd49fd80d2b349a8fd44dbcd509168dbc1061) Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/buildperf/base.py')
-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 97be58f0a1..e4a79486f2 100644
--- a/meta/lib/oeqa/buildperf/base.py
+++ b/meta/lib/oeqa/buildperf/base.py
@@ -175,7 +175,7 @@ class BuildPerfTestResult(unittest.TextTestResult):
175 175
176 values = ['0'] * 12 176 values = ['0'] * 12
177 for status, (test, msg) in self.all_results(): 177 for status, (test, msg) in self.all_results():
178 if status not in ['SUCCESS', 'FAILURE', 'EXP_SUCCESS']: 178 if status in ['ERROR', 'SKIPPED']:
179 continue 179 continue
180 (t_ind, t_len), (s_ind, s_len) = gr_map[test.name] 180 (t_ind, t_len), (s_ind, s_len) = gr_map[test.name]
181 if t_ind is not None: 181 if t_ind is not None: