aboutsummaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/core/context.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2018-07-14 14:50:48 +0000
committerArmin Kuster <akuster808@gmail.com>2019-04-09 17:57:17 +0530
commit85c1b6fb516aae58240330a0aca659bfafcd3883 (patch)
treee4778eef8843e48cc82744460cdbff30afec8721 /meta/lib/oeqa/core/context.py
parentaf7ba26a603a12de0aed35e786674c92049c2bee (diff)
downloadopenembedded-core-contrib-85c1b6fb516aae58240330a0aca659bfafcd3883.tar.gz
openembedded-core-contrib-85c1b6fb516aae58240330a0aca659bfafcd3883.tar.bz2
openembedded-core-contrib-85c1b6fb516aae58240330a0aca659bfafcd3883.zip
oeqa: Default to buffer mode for tests
Currently some tests run in buffer mode and some don't. Those that don't can corrupt stdout/stderr. Switch to using buffer mode everywhere so we're consistent. If there is useful output on stdout/stderr, it will be displayed if the test fails. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta/lib/oeqa/core/context.py')
-rw-r--r--meta/lib/oeqa/core/context.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/core/context.py b/meta/lib/oeqa/core/context.py
index ef008454ff..cd6db234a4 100644
--- a/meta/lib/oeqa/core/context.py
+++ b/meta/lib/oeqa/core/context.py
@@ -58,7 +58,7 @@ class OETestContext(object):
self.suites = self.loader.discover()
def runTests(self, skips=[]):
- self.runner = self.runnerClass(self, descriptions=False, verbosity=2)
+ self.runner = self.runnerClass(self, descriptions=False, verbosity=2, buffer=True)
# Dinamically skip those tests specified though arguments
self.skipTests(skips)