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 authored and Richard Purdie committed 2017-06-02 13:36:14 +01:00
1 parent 542831e3d5
commit 5e0efc9942
1 file changed
+1 -1
+1 -1
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)