فهرست منبع

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>
Richard Purdie 7 سال پیش
والد
کامیت
27eaabb35c
2فایلهای تغییر یافته به همراه4 افزوده شده و 0 حذف شده
  1. 2 0
      meta/lib/oeqa/selftest/cases/devtool.py
  2. 2 0
      meta/lib/oeqa/selftest/cases/imagefeatures.py

+ 2 - 0
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

+ 2 - 0
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):
         """