[oe-commits] [openembedded-core] 01/01: oeqa: Markup further tests for stdout/stderr buffering

git at git.openembedded.org git at git.openembedded.org
Thu Nov 9 12:34:53 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit bbb194f779fd1b70129c7ebda489c651f4a93fe4
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Thu Nov 9 12:10:16 2017 +0000

    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 at linuxfoundation.org>
---
 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 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):
         """

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list