mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
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:
committed by
Richard Purdie
parent
542831e3d5
commit
5e0efc9942
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user