From 05b16219698fbd30ec76697e1b3be6d31e8f8878 Mon Sep 17 00:00:00 2001 From: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com> Date: Fri, 26 May 2017 15:37:52 -0500 Subject: 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. 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 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oeqa/core/context.py b/meta/lib/oeqa/core/context.py index 20d82360e6..6667f46f1e 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) -- cgit v1.2.3