forked from OSchip/llvm-project
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
This commit is contained in:
parent
def8bdbfac
commit
70cb84a0f6
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue