diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-07-14 14:50:48 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-07-16 13:21:35 +0100 |
commit | 6b219f64c403361926a464925f0a32b2b3d27ffc (patch) | |
tree | 535e1d443737f3fc94cbbd1ec0c48806d3e23c5f /meta/lib/oeqa/selftest/cases/devtool.py | |
parent | eacc12c2ec6d778c70f91f8c754f64c6c097f35a (diff) | |
download | poky-6b219f64c403361926a464925f0a32b2b3d27ffc.tar.gz |
oeqa: Default to buffer mode for tests
Currently some tests run in buffer mode and some don't. Those that don't can
corrupt stdout/stderr. Switch to using buffer mode everywhere so we're consistent.
If there is useful output on stdout/stderr, it will be displayed if the test
fails.
(From OE-Core rev: 978548c0abde2cb94c2782538552f39bdf2bf630)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/selftest/cases/devtool.py')
-rw-r--r-- | meta/lib/oeqa/selftest/cases/devtool.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/meta/lib/oeqa/selftest/cases/devtool.py b/meta/lib/oeqa/selftest/cases/devtool.py index 723d8e19cf..f2b0f59677 100644 --- a/meta/lib/oeqa/selftest/cases/devtool.py +++ b/meta/lib/oeqa/selftest/cases/devtool.py | |||
@@ -13,8 +13,6 @@ from oeqa.core.decorator.oeid import OETestID | |||
13 | 13 | ||
14 | class DevtoolBase(OESelftestTestCase): | 14 | class DevtoolBase(OESelftestTestCase): |
15 | 15 | ||
16 | buffer = True | ||
17 | |||
18 | def _test_recipe_contents(self, recipefile, checkvars, checkinherits): | 16 | def _test_recipe_contents(self, recipefile, checkvars, checkinherits): |
19 | with open(recipefile, 'r') as f: | 17 | with open(recipefile, 'r') as f: |
20 | invar = None | 18 | invar = None |