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: d0a3379bbcbcd8153bd59ccdb56d40fff7ad6c6b)

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 27eaabb35c
commit c86e8900e8

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):