summaryrefslogtreecommitdiffstats
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
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-04-25 15:01:21 +0100
commit9a8d6d9fd200fdbd27dce63d6337e8d1fce49533 (patch)
tree044a3d87decf6df05c971b7261f564bd321c262a /meta/lib/oeqa/core/context.py
parent65681147b2339d119a9e2f864103ea83b544daa3 (diff)
downloadpoky-9a8d6d9fd200fdbd27dce63d6337e8d1fce49533.tar.gz
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. (From OE-Core rev: 85c1b6fb516aae58240330a0aca659bfafcd3883) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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):
58 self.suites = self.loader.discover() 58 self.suites = self.loader.discover()
59 59
60 def runTests(self, skips=[]): 60 def runTests(self, skips=[]):
61 self.runner = self.runnerClass(self, descriptions=False, verbosity=2) 61 self.runner = self.runnerClass(self, descriptions=False, verbosity=2, buffer=True)
62 62
63 # Dinamically skip those tests specified though arguments 63 # Dinamically skip those tests specified though arguments
64 self.skipTests(skips) 64 self.skipTests(skips)