Fix bug in bisect-skip-count not using passed-in arguments

llvm-svn: 296961
This commit is contained in:
Daniel Berlin 2017-03-04 03:23:41 +00:00
parent e5edb8e9bf
commit 33909a77e0

View File

@ -61,7 +61,7 @@ while start != end and start != end-1:
cmd = [x % {'count':count, 'skip':firstcount } for x in args.command]
print cmd
try:
result = subprocess.call(cmd, shell=True, timeout=20)
result = subprocess.call(cmd, shell=args.shell, timeout=args.timeout)
if result == 0:
print(" PASSES! Setting start to count")
start = count