[Lldb-commits] [lldb] r129788 - /lldb/trunk/test/process_launch/TestProcessLaunch.py
Johnny Chen
johnny.chen at apple.com
Tue Apr 19 12:21:19 PDT 2011
Author: johnny
Date: Tue Apr 19 14:21:19 2011
New Revision: 129788
URL: http://llvm.org/viewvc/llvm-project?rev=129788&view=rev
Log:
Only print more debug out when self.TraceOn() returns True.
Modified:
lldb/trunk/test/process_launch/TestProcessLaunch.py
Modified: lldb/trunk/test/process_launch/TestProcessLaunch.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/process_launch/TestProcessLaunch.py?rev=129788&r1=129787&r2=129788&view=diff
==============================================================================
--- lldb/trunk/test/process_launch/TestProcessLaunch.py (original)
+++ lldb/trunk/test/process_launch/TestProcessLaunch.py Tue Apr 19 14:21:19 2011
@@ -150,7 +150,8 @@
else:
# Check to see if the 'stdout' file contains the right output
line = out_f.readline();
- print "line:", line
+ if self.TraceOn():
+ print "line:", line
if not re.search(mywd, line):
success = False
err_msg = err_msg + "The current working directory was not set correctly.\n"
More information about the lldb-commits
mailing list