From 5e0efc99426d52580018274adfb1199898f3b863 Mon Sep 17 00:00:00 2001 From: Leonardo Sandoval Date: Fri, 26 May 2017 15:37:52 -0500 Subject: [PATCH] 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 Signed-off-by: Richard Purdie --- 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)