[gnome-continuous-yocto/gnomeostree-3.28-rocko: 6061/8267] oeqa/core/context: Omit docstring output on XMLResult
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous-yocto/gnomeostree-3.28-rocko: 6061/8267] oeqa/core/context: Omit docstring output on XMLResult
- Date: Sun, 17 Dec 2017 04:18:51 +0000 (UTC)
commit 5e0efc99426d52580018274adfb1199898f3b863
Author: Leonardo Sandoval <leonardo sandoval gonzalez linux intel com>
Date: Fri May 26 15:37:52 2017 -0500
oeqa/core/context: Omit docstring output on XMLResult
By default, the xml runner class prints out the docstring for every
unit test but it order to keep the same format as the standard
runner, avoid docstring output setting descriptions to False.
(From OE-Core rev: 05b16219698fbd30ec76697e1b3be6d31e8f8878)
Signed-off-by: Leonardo Sandoval <leonardo sandoval gonzalez linux intel com>
Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>
meta/lib/oeqa/core/context.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/meta/lib/oeqa/core/context.py b/meta/lib/oeqa/core/context.py
index 20d8236..6667f46 100644
--- a/meta/lib/oeqa/core/context.py
+++ b/meta/lib/oeqa/core/context.py
@@ -51,7 +51,7 @@ class OETestContext(object):
self.suites = self.loader.discover()
def runTests(self):
- self.runner = self.runnerClass(self, verbosity=2)
+ self.runner = self.runnerClass(self, descriptions=False, verbosity=2)
self._run_start_time = time.time()
result = self.runner.run(self.suites)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]