]> code.ossystems Code Review - openembedded-core.git/commitdiff
oeqa.buildperf: sync test status names with JUnit
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Thu, 27 Oct 2016 17:07:14 +0000 (20:07 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 23 Jan 2017 12:03:59 +0000 (12:03 +0000)
Use 'failure' instead of 'fail'. Also, use 'expected' instead of 'exp'.

[YOCTO #10590]

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/lib/oeqa/buildperf/base.py

index 4955914c23bb77151a0efdb976ce58b417d37ae7..71f3382d0b54ad68d1e12ff5051a3f7c2527802d 100644 (file)
@@ -158,10 +158,10 @@ class BuildPerfTestResult(unittest.TextTestResult):
 
     def all_results(self):
         result_map = {'SUCCESS': self.successes,
-                      'FAIL': self.failures,
+                      'FAILURE': self.failures,
                       'ERROR': self.errors,
-                      'EXP_FAIL': self.expectedFailures,
-                      'UNEXP_SUCCESS': self.unexpectedSuccesses,
+                      'EXPECTED_FAILURE': self.expectedFailures,
+                      'UNEXPECTED_SUCCESS': self.unexpectedSuccesses,
                       'SKIPPED': self.skipped}
         for status, tests in result_map.items():
             for test in tests: