summaryrefslogtreecommitdiffstats
path: root/lldb/test/lldbtest.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/lldbtest.py')
-rw-r--r--lldb/test/lldbtest.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/lldb/test/lldbtest.py b/lldb/test/lldbtest.py
index ddbedfc9a6b..9322f4b6b42 100644
--- a/lldb/test/lldbtest.py
+++ b/lldb/test/lldbtest.py
@@ -228,7 +228,7 @@ def system(*popenargs, **kwargs):
if 'stdout' in kwargs:
raise ValueError('stdout argument not allowed, it will be overridden.')
process = Popen(stdout=PIPE, *popenargs, **kwargs)
- output, unused_err = process.communicate()
+ output, error = process.communicate()
retcode = process.poll()
if traceAlways:
@@ -239,8 +239,9 @@ def system(*popenargs, **kwargs):
print >> sys.stderr
print >> sys.stderr, "os command:", args
print >> sys.stderr, "output:", output
- print >> sys.stderr, "error:", unused_err
- print >> sys.stderr, "retcode:", retcode
+ print >> sys.stderr, "error (from os comand):", error
+ print >> sys.stderr, "retcode (from os command):", retcode
+ print >> sys.stderr
if retcode:
cmd = kwargs.get("args")
OpenPOWER on IntegriCloud