summaryrefslogtreecommitdiffstats
path: root/meta/lib
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-11-11 12:14:26 +0000
commit27eaabb35c51e2da22577c331bb8925d5c1e562a (patch)
treec39a9558f596cc835f2fc77997d21eee6ef07454 /meta/lib
parent702f4692a25c670d7d14da106f545b86e55473ce (diff)
downloadpoky-27eaabb35c51e2da22577c331bb8925d5c1e562a.tar.gz
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. (From OE-Core rev: efa064d5026538ab513edc11869364ce2f14b977) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-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 3c537ee071..43280cdc0e 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
13 13
14class DevtoolBase(OESelftestTestCase): 14class DevtoolBase(OESelftestTestCase):
15 15
16 buffer = True
17
16 def _test_recipe_contents(self, recipefile, checkvars, checkinherits): 18 def _test_recipe_contents(self, recipefile, checkvars, checkinherits):
17 with open(recipefile, 'r') as f: 19 with open(recipefile, 'r') as f:
18 invar = None 20 invar = None
diff --git a/meta/lib/oeqa/selftest/cases/imagefeatures.py b/meta/lib/oeqa/selftest/cases/imagefeatures.py
index 2ca66d0cf3..0ffb686921 100644
--- a/meta/lib/oeqa/selftest/cases/imagefeatures.py
+++ b/meta/lib/oeqa/selftest/cases/imagefeatures.py
@@ -10,6 +10,8 @@ class ImageFeatures(OESelftestTestCase):
10 test_user = 'tester' 10 test_user = 'tester'
11 root_user = 'root' 11 root_user = 'root'
12 12
13 buffer = True
14
13 @OETestID(1107) 15 @OETestID(1107)
14 def test_non_root_user_can_connect_via_ssh_without_password(self): 16 def test_non_root_user_can_connect_via_ssh_without_password(self):
15 """ 17 """