aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2016-05-02 17:19:36 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-07-01 16:08:48 +0100
commitde9744c91a997a5ab0e7a19dbe13d8def8d62800 (patch)
tree044ed266063fe96a8ce92e1db25a2f039a82568a
parentcdd6b7386afd460337705d8117a4328d4993ecef (diff)
downloadopenembedded-core-contrib-de9744c91a997a5ab0e7a19dbe13d8def8d62800.tar.gz
openembedded-core-contrib-de9744c91a997a5ab0e7a19dbe13d8def8d62800.tar.bz2
openembedded-core-contrib-de9744c91a997a5ab0e7a19dbe13d8def8d62800.zip
oeqa.utils.commands: runCmd: return stderr output, too
Useful if one wants to separate stdout and stderr. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--meta/lib/oeqa/utils/commands.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/lib/oeqa/utils/commands.py b/meta/lib/oeqa/utils/commands.py
index 2e513be6af..eddcf1ac8f 100644
--- a/meta/lib/oeqa/utils/commands.py
+++ b/meta/lib/oeqa/utils/commands.py
@@ -103,6 +103,7 @@ def runCmd(command, ignore_status=False, timeout=None, assert_error=True, **opti
result.command = command
result.status = cmd.status
result.output = cmd.output
+ result.error = cmd.error
result.pid = cmd.process.pid
if result.status and not ignore_status: