[oe-commits] [openembedded-core] 48/86: oeqa.buildperf: fix checking of invalid results

git at git.openembedded.org git at git.openembedded.org
Tue Aug 30 16:18:55 UTC 2016


rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 7e1faf95706e93786b1cf162d1e5ad1e08448c58
Author: Markus Lehtonen <markus.lehtonen at linux.intel.com>
AuthorDate: Fri Aug 26 10:33:08 2016 +0300

    oeqa.buildperf: fix checking of invalid results
    
    The test status check done when writing globalres log was incorrect.
    
    Signed-off-by: Markus Lehtonen <markus.lehtonen at linux.intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/lib/oeqa/buildperf/base.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/lib/oeqa/buildperf/base.py b/meta/lib/oeqa/buildperf/base.py
index 97be58f..e4a7948 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:

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list