Remove stale reference to the lldb path component.
llvm-svn: 106509
diff --git a/lldb/test/tester.py b/lldb/test/tester.py
index af2c77b0a..8e6c355 100755
--- a/lldb/test/tester.py
+++ b/lldb/test/tester.py
@@ -5,9 +5,10 @@
def setupSysPath():
testPath = sys.path[0]
- rem = re.match("(^.*lldb/)test$", testPath)
+ print "sys.path[0] =", testPath
+ rem = re.match("(^.*/)test$", testPath)
if not rem:
- print "This script expects to reside in .../lldb/test."
+ print "This script expects to reside in .../test."
sys.exit(-1)
lldbBasePath = rem.group(1)
lldbDebugPythonPath = "build/Debug/LLDB.framework/Resources/Python"