summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2011-08-12 18:54:11 +0000
committerJohnny Chen <johnny.chen@apple.com>2011-08-12 18:54:11 +0000
commit70cb84a0f6dfeed83a712b15b7336b7af9fc928f (patch)
tree7006cbc3c6356e46192d7fb08753748c8bf82ed1
parentdef8bdbfac91cfddb2576a223993a4aebe06a065 (diff)
downloadbcm5719-llvm-70cb84a0f6dfeed83a712b15b7336b7af9fc928f.tar.gz
bcm5719-llvm-70cb84a0f6dfeed83a712b15b7336b7af9fc928f.zip
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
-rwxr-xr-xlldb/test/dotest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/test/dotest.py b/lldb/test/dotest.py
index fa5a63e0bc8..f71bddef153 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]
OpenPOWER on IntegriCloud