summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oeqa/utils/subprocesstweak.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/lib/oeqa/utils/subprocesstweak.py b/meta/lib/oeqa/utils/subprocesstweak.py
index 1774513023..046667faa9 100644
--- a/meta/lib/oeqa/utils/subprocesstweak.py
+++ b/meta/lib/oeqa/utils/subprocesstweak.py
@@ -12,7 +12,9 @@ class OETestCalledProcessError(subprocess.CalledProcessError):
12 12
13 s = super().__str__() 13 s = super().__str__()
14 s = s + "\nStandard Output: " + strify(self.output) 14 s = s + "\nStandard Output: " + strify(self.output)
15 s = s + "\nStandard Error: " + strify(self.stderr) 15 # stderr is not available for check_output method
16 if self.stderr != None:
17 s = s + "\nStandard Error: " + strify(self.stderr)
16 return s 18 return s
17 19
18def errors_have_output(): 20def errors_have_output():