[Lldb-commits] [lldb] r106509 - /lldb/trunk/test/tester.py

Johnny Chen johnny.chen at apple.com
Mon Jun 21 17:11:26 PDT 2010


Author: johnny
Date: Mon Jun 21 19:11:26 2010
New Revision: 106509

URL: http://llvm.org/viewvc/llvm-project?rev=106509&view=rev
Log:
Remove stale reference to the lldb path component.

Modified:
    lldb/trunk/test/tester.py

Modified: lldb/trunk/test/tester.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/tester.py?rev=106509&r1=106508&r2=106509&view=diff
==============================================================================
--- lldb/trunk/test/tester.py (original)
+++ lldb/trunk/test/tester.py Mon Jun 21 19:11:26 2010
@@ -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"





More information about the lldb-commits mailing list