summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/utils/commands.py
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 /meta/lib/oeqa/utils/commands.py
parentcf4c8980d788dd0cc45084bfbd3d7164346054e9 (diff)
downloadpoky-ec8be2039e70617008a22601ee796f593312ba0c.tar.gz
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>
Diffstat (limited to 'meta/lib/oeqa/utils/commands.py')
-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
103 result.command = command 103 result.command = command
104 result.status = cmd.status 104 result.status = cmd.status
105 result.output = cmd.output 105 result.output = cmd.output
106 result.error = cmd.error
106 result.pid = cmd.process.pid 107 result.pid = cmd.process.pid
107 108
108 if result.status and not ignore_status: 109 if result.status and not ignore_status: