From: Markus Lehtonen Date: Fri, 26 Aug 2016 07:33:08 +0000 (+0300) Subject: oeqa.buildperf: fix checking of invalid results X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~24467 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3efbd49fd80d2b349a8fd44dbcd509168dbc1061;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git oeqa.buildperf: fix checking of invalid results The test status check done when writing globalres log was incorrect. Signed-off-by: Markus Lehtonen Signed-off-by: Richard Purdie --- diff --git a/meta/lib/oeqa/buildperf/base.py b/meta/lib/oeqa/buildperf/base.py index 97be58f0a1f..e4a79486f2b 100644 --- a/meta/lib/oeqa/buildperf/base.py +++ b/meta/lib/oeqa/buildperf/base.py @@ -175,7 +175,7 @@ class BuildPerfTestResult(unittest.TextTestResult): values = ['0'] * 12 for status, (test, msg) in self.all_results(): - if status not in ['SUCCESS', 'FAILURE', 'EXP_SUCCESS']: + if status in ['ERROR', 'SKIPPED']: continue (t_ind, t_len), (s_ind, s_len) = gr_map[test.name] if t_ind is not None: