aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2017-11-09 12:10:16 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-12-04 17:14:30 +0000
commit22f224965ac93da0b37affc4998fc0644f14462d (patch)
treec4467ae04d2ec81be6136fbe9da784597ccef340
parentc0af4e9a0666de64c6a8823cdd3fbea579a3fb67 (diff)
downloadopenembedded-core-22f224965ac93da0b37affc4998fc0644f14462d.zip
openembedded-core-22f224965ac93da0b37affc4998fc0644f14462d.tar.gz
openembedded-core-22f224965ac93da0b37affc4998fc0644f14462d.tar.bz2
oeqa: Markup further tests for stdout/stderr buffering
This further cleans up the output of oe-selftest so that runqemu output is hidden unless tests fail. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster@mvista.com>
-rw-r--r--meta/lib/oeqa/selftest/cases/devtool.py2
-rw-r--r--meta/lib/oeqa/selftest/cases/imagefeatures.py2
2 files changed, 4 insertions, 0 deletions
diff --git a/meta/lib/oeqa/selftest/cases/devtool.py b/meta/lib/oeqa/selftest/cases/devtool.py
index 3c537ee..43280cd 100644
--- a/meta/lib/oeqa/selftest/cases/devtool.py
+++ b/meta/lib/oeqa/selftest/cases/devtool.py
@@ -13,6 +13,8 @@ from oeqa.core.decorator.oeid import OETestID
class DevtoolBase(OESelftestTestCase):
+ buffer = True
+
def _test_recipe_contents(self, recipefile, checkvars, checkinherits):
with open(recipefile, 'r') as f:
invar = None
diff --git a/meta/lib/oeqa/selftest/cases/imagefeatures.py b/meta/lib/oeqa/selftest/cases/imagefeatures.py
index 2ca66d0..0ffb686 100644
--- a/meta/lib/oeqa/selftest/cases/imagefeatures.py
+++ b/meta/lib/oeqa/selftest/cases/imagefeatures.py
@@ -10,6 +10,8 @@ class ImageFeatures(OESelftestTestCase):
test_user = 'tester'
root_user = 'root'
+ buffer = True
+
@OETestID(1107)
def test_non_root_user_can_connect_via_ssh_without_password(self):
"""