[Lldb-commits] [lldb] r115916 - /lldb/trunk/test/dotest.py

Johnny Chen johnny.chen at apple.com
Thu Oct 7 08:41:55 PDT 2010


Author: johnny
Date: Thu Oct  7 10:41:55 2010
New Revision: 115916

URL: http://llvm.org/viewvc/llvm-project?rev=115916&view=rev
Log:
Fix logic error of the option processing loop.

Modified:
    lldb/trunk/test/dotest.py

Modified: lldb/trunk/test/dotest.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/dotest.py?rev=115916&r1=115915&r2=115916&view=diff
==============================================================================
--- lldb/trunk/test/dotest.py (original)
+++ lldb/trunk/test/dotest.py Thu Oct  7 10:41:55 2010
@@ -143,7 +143,7 @@
 
     # Process possible trace and/or verbose flag, among other things.
     index = 1
-    for i in range(1, len(sys.argv)):
+    while index < len(sys.argv):
         if not sys.argv[index].startswith('-'):
             # End of option processing.
             break





More information about the lldb-commits mailing list