Fix LLDB test tracing to include the output (stdout and stderr) of each shell command.
authorAdrian McCarthy <amccarth@google.com>
Fri, 3 Apr 2015 17:10:30 +0000 (17:10 +0000)
committerAdrian McCarthy <amccarth@google.com>
Fri, 3 Apr 2015 17:10:30 +0000 (17:10 +0000)
llvm-svn: 234025

lldb/test/lldbtest.py

index 0072df6fb0a5ee9ee2543a17e311344661f908e2..e11bd01fede0febc5c355a32938e246123e368b1 100644 (file)
@@ -362,8 +362,8 @@ def system(commands, **kwargs):
             print >> sbuf
             print >> sbuf, "os command:", shellCommand
             print >> sbuf, "with pid:", pid
-            print >> sbuf, "stdout:", output
-            print >> sbuf, "stderr:", error
+            print >> sbuf, "stdout:", this_output
+            print >> sbuf, "stderr:", this_error
             print >> sbuf, "retcode:", retcode
             print >> sbuf