diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-11-09 12:10:16 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-12-04 17:23:58 +0000 |
| commit | fbddd3917f817acde499acb8ba385a7ca92260ae (patch) | |
| tree | 5d0d0ad062d20fbce3325fe3a7564186022243da | |
| parent | 5481891748e4068852105e44fa24b89761997731 (diff) | |
| download | poky-fbddd3917f817acde499acb8ba385a7ca92260ae.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: 22f224965ac93da0b37affc4998fc0644f14462d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/lib/oeqa/selftest/cases/devtool.py | 2 | ||||
| -rw-r--r-- | meta/lib/oeqa/selftest/cases/imagefeatures.py | 2 |
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 | ||
| 14 | class DevtoolBase(OESelftestTestCase): | 14 | class 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 | """ |
