[gnome-continuous-yocto/gnomeostree-3.28-rocko: 4258/8267] oeqa.buildperf: sync test status names with JUnit
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous-yocto/gnomeostree-3.28-rocko: 4258/8267] oeqa.buildperf: sync test status names with JUnit
- Date: Sun, 17 Dec 2017 01:47:04 +0000 (UTC)
commit 184afbc6ce13ab2102675274beaa1b2395d9273f
Author: Markus Lehtonen <markus lehtonen linux intel com>
Date: Thu Oct 27 20:07:14 2016 +0300
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>
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 4955914..71f3382 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:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]