[Lldb-commits] [lldb] r137492 - /lldb/trunk/test/dotest.py

Johnny Chen johnny.chen at apple.com
Fri Aug 12 11:54:11 PDT 2011


Author: johnny
Date: Fri Aug 12 13:54:11 2011
New Revision: 137492

URL: http://llvm.org/viewvc/llvm-project?rev=137492&view=rev
Log:
When running dotest.py under pdb (the python debugger), define DOTEST_PDB=YES and
DOTEST_SCRIPT_DIR=/path/leading/to/your/dotest/script/directory.

Modified:
    lldb/trunk/test/dotest.py

Modified: lldb/trunk/test/dotest.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/dotest.py?rev=137492&r1=137491&r2=137492&view=diff
==============================================================================
--- lldb/trunk/test/dotest.py (original)
+++ lldb/trunk/test/dotest.py Fri Aug 12 13:54:11 2011
@@ -521,7 +521,7 @@
     global svn_info
 
     # Get the directory containing the current script.
-    if "DOTEST_PROFILE" in os.environ and "DOTEST_SCRIPT_DIR" in os.environ:
+    if ("DOTEST_PROFILE" in os.environ or "DOTEST_PDB" in os.environ) and "DOTEST_SCRIPT_DIR" in os.environ:
         scriptPath = os.environ["DOTEST_SCRIPT_DIR"]
     else:
         scriptPath = sys.path[0]





More information about the lldb-commits mailing list