]> code.ossystems Code Review - openembedded-core.git/commitdiff
oeqa/runner: Pass the value of buffer, don't force to True
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 9 Nov 2017 13:23:04 +0000 (13:23 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 4 Dec 2017 17:14:30 +0000 (17:14 +0000)
The value could be False in which case we should pass that through.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
meta/lib/oeqa/core/runner.py

index 2d756da6d01c1db7ea6b6290e43dbca74a63fd8b..13cdf5ba52349e1fdcc0a9cf802cf9a634e02454 100644 (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):