]> code.ossystems Code Review - openembedded-core.git/commitdiff
oeqa/core/context: Omit docstring output on XMLResult
authorLeonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Fri, 26 May 2017 20:37:52 +0000 (15:37 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 30 May 2017 09:15:22 +0000 (10:15 +0100)
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

index 20d82360e6624d6ff30125be7602a9c6b5748101..6667f46f1e2bb2b48a3b16bde07e5f51f259cd8d 100644 (file)
@@ -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)