diff options
author | Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com> | 2017-05-26 15:37:52 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-06-02 13:36:14 +0100 |
commit | 5e0efc99426d52580018274adfb1199898f3b863 (patch) | |
tree | 635e2c170272713dd119cffd0a9fa88e025f9e99 /meta/lib | |
parent | 542831e3d5ac153523ce280485a03a4531a865c0 (diff) | |
download | poky-5e0efc99426d52580018274adfb1199898f3b863.tar.gz |
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>
Diffstat (limited to 'meta/lib')
-rw-r--r-- | meta/lib/oeqa/core/context.py | 2 |
1 files changed, 1 insertions, 1 deletions
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): | |||
51 | self.suites = self.loader.discover() | 51 | self.suites = self.loader.discover() |
52 | 52 | ||
53 | def runTests(self): | 53 | def runTests(self): |
54 | self.runner = self.runnerClass(self, verbosity=2) | 54 | self.runner = self.runnerClass(self, descriptions=False, verbosity=2) |
55 | 55 | ||
56 | self._run_start_time = time.time() | 56 | self._run_start_time = time.time() |
57 | result = self.runner.run(self.suites) | 57 | result = self.runner.run(self.suites) |