From: Richard Purdie Date: Thu, 9 Nov 2017 12:10:16 +0000 (+0000) Subject: oeqa: Markup further tests for stdout/stderr buffering X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~19591 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=efa064d5026538ab513edc11869364ce2f14b977;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 --- diff --git a/meta/lib/oeqa/selftest/cases/devtool.py b/meta/lib/oeqa/selftest/cases/devtool.py index 3c537ee071a..43280cdc0e5 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 2ca66d0cf3e..0ffb686921c 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): """