Fix logic error of the option processing loop.

llvm-svn: 115916
This commit is contained in:
Johnny Chen 2010-10-07 15:41:55 +00:00
parent 6036264fb4
commit fbfba899a6
1 changed files with 1 additions and 1 deletions

View File

@ -143,7 +143,7 @@ def parseOptionsAndInitTestdirs():
# 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