[gnome-continuous-yocto/gnomeostree-3.28-rocko: 1120/8267] oeqa.utils.commands: runCmd: return stderr output, too



commit ec8be2039e70617008a22601ee796f593312ba0c
Author: Markus Lehtonen <markus lehtonen linux intel com>
Date:   Mon May 2 17:19:36 2016 +0300

    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>

 meta/lib/oeqa/utils/commands.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/meta/lib/oeqa/utils/commands.py b/meta/lib/oeqa/utils/commands.py
index 2e513be..eddcf1a 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:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]