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>
This commit is contained in:
Leonardo Sandoval
2017-05-26 15:37:52 -05:00
committed by Richard Purdie
parent 542831e3d5
commit 5e0efc9942

View 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)