From 70cb84a0f6dfeed83a712b15b7336b7af9fc928f Mon Sep 17 00:00:00 2001 From: Johnny Chen Date: Fri, 12 Aug 2011 18:54:11 +0000 Subject: [PATCH] When running dotest.py under pdb (the python debugger), define DOTEST_PDB=YES and DOTEST_SCRIPT_DIR=/path/leading/to/your/dotest/script/directory. llvm-svn: 137492 --- lldb/test/dotest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/test/dotest.py b/lldb/test/dotest.py index fa5a63e0bc87..f71bddef1539 100755 --- a/lldb/test/dotest.py +++ b/lldb/test/dotest.py @@ -521,7 +521,7 @@ def setupSysPath(): 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]