From 22f224965ac93da0b37affc4998fc0644f14462d Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 9 Nov 2017 12:10:16 +0000 Subject: 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 Signed-off-by: Armin Kuster --- meta/lib/oeqa/selftest/cases/devtool.py | 2 ++ meta/lib/oeqa/selftest/cases/imagefeatures.py | 2 ++ 2 files changed, 4 insertions(+) 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 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 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): test_user = 'tester' root_user = 'root' + buffer = True + @OETestID(1107) def test_non_root_user_can_connect_via_ssh_without_password(self): """ -- cgit 1.2.3-korg