summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/buildperf
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2016-10-27 20:07:14 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-01-23 12:05:21 +0000
commit184afbc6ce13ab2102675274beaa1b2395d9273f (patch)
treeb161651a248ca898e762c730a0b7a6092661e66e /meta/lib/oeqa/buildperf
parentef988b3d06d71fe0dfb5d16e01dc9071ca0a095a (diff)
downloadpoky-184afbc6ce13ab2102675274beaa1b2395d9273f.tar.gz
oeqa.buildperf: sync test status names with JUnit
Use 'failure' instead of 'fail'. Also, use 'expected' instead of 'exp'. [YOCTO #10590] (From OE-Core rev: 51ae18c64eee074478157a484f71a53faadca80b) Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/buildperf')
-rw-r--r--meta/lib/oeqa/buildperf/base.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/lib/oeqa/buildperf/base.py b/meta/lib/oeqa/buildperf/base.py
index 4955914c23..71f3382d0b 100644
--- a/meta/lib/oeqa/buildperf/base.py
+++ b/meta/lib/oeqa/buildperf/base.py
@@ -158,10 +158,10 @@ class BuildPerfTestResult(unittest.TextTestResult):
158 158
159 def all_results(self): 159 def all_results(self):
160 result_map = {'SUCCESS': self.successes, 160 result_map = {'SUCCESS': self.successes,
161 'FAIL': self.failures, 161 'FAILURE': self.failures,
162 'ERROR': self.errors, 162 'ERROR': self.errors,
163 'EXP_FAIL': self.expectedFailures, 163 'EXPECTED_FAILURE': self.expectedFailures,
164 'UNEXP_SUCCESS': self.unexpectedSuccesses, 164 'UNEXPECTED_SUCCESS': self.unexpectedSuccesses,
165 'SKIPPED': self.skipped} 165 'SKIPPED': self.skipped}
166 for status, tests in result_map.items(): 166 for status, tests in result_map.items():
167 for test in tests: 167 for test in tests: