oeqa/runner: Pass the value of buffer, don't force to True

The value could be False in which case we should pass that through.

(From OE-Core rev: 5b4b7bfe33630d73b5b53fc754cd45563fcbfd4d)

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>
This commit is contained in:
Richard Purdie
2017-11-09 13:23:04 +00:00
parent fbddd3917f
commit 99c18e36e2

View File

@@ -50,7 +50,7 @@ class OETestResult(_TestResult):
# so stdout/stderr are only printed upon failure. Enables debugging
# but clean output
if hasattr(test, "buffer"):
self.buffer = True
self.buffer = test.buffer
super(OETestResult, self).startTest(test)
def _tc_map_results(self):