[Lldb-commits] [lldb] r136806 - /lldb/trunk/test/functionalities/load_unload/TestLoadUnload.py
Johnny Chen
johnny.chen at apple.com
Wed Aug 3 13:28:34 PDT 2011
Author: johnny
Date: Wed Aug 3 15:28:34 2011
New Revision: 136806
URL: http://llvm.org/viewvc/llvm-project?rev=136806&view=rev
Log:
Conditionize the 'print "Set environment ..."' stmt.
Modified:
lldb/trunk/test/functionalities/load_unload/TestLoadUnload.py
Modified: lldb/trunk/test/functionalities/load_unload/TestLoadUnload.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/load_unload/TestLoadUnload.py?rev=136806&r1=136805&r2=136806&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/load_unload/TestLoadUnload.py (original)
+++ lldb/trunk/test/functionalities/load_unload/TestLoadUnload.py Wed Aug 3 15:28:34 2011
@@ -83,7 +83,8 @@
# we pick up the hidden dylib.
env_cmd_string = "settings set target.process.env-vars " + dylibPath + "=" + new_dir
- print "Set environment to: ", env_cmd_string
+ if self.TraceOn():
+ print "Set environment to: ", env_cmd_string
self.runCmd(env_cmd_string)
self.runCmd("settings show target.process.env-vars")
More information about the lldb-commits
mailing list