summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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