summaryrefslogtreecommitdiffstats
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:22:46 +0100
commitec8be2039e70617008a22601ee796f593312ba0c (patch)
tree9e9c76a1a157d1cb8b050d33824d267577baff89
parentcf4c8980d788dd0cc45084bfbd3d7164346054e9 (diff)
downloadopenembedded-core-contrib-ec8be2039e70617008a22601ee796f593312ba0c.tar.gz
openembedded-core-contrib-ec8be2039e70617008a22601ee796f593312ba0c.tar.bz2
openembedded-core-contrib-ec8be2039e70617008a22601ee796f593312ba0c.zip
oeqa.utils.commands: runCmd: return stderr output, too
Useful if one wants to separate stdout and stderr. (From OE-Core rev: de9744c91a997a5ab0e7a19dbe13d8def8d62800) Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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: