diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2016-10-27 20:07:14 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-23 12:03:59 +0000 |
commit | 51ae18c64eee074478157a484f71a53faadca80b (patch) | |
tree | 335084911adcd103155e10b8f358ea79d9609971 /meta/lib | |
parent | af205d9a13d182a0b590426ba8c4e3dff7f3f02b (diff) | |
download | openembedded-core-51ae18c64eee074478157a484f71a53faadca80b.tar.gz openembedded-core-51ae18c64eee074478157a484f71a53faadca80b.tar.bz2 openembedded-core-51ae18c64eee074478157a484f71a53faadca80b.zip |
oeqa.buildperf: sync test status names with JUnit
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>
Diffstat (limited to 'meta/lib')
-rw-r--r-- | meta/lib/oeqa/buildperf/base.py | 6 |
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): 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: |