forked from OSchip/llvm-project
Fix logic error of the option processing loop.
llvm-svn: 115916
This commit is contained in:
parent
6036264fb4
commit
fbfba899a6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue