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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@296961 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Daniel Berlin 2017-03-04 03:23:41 +00:00
parent 81540f2b8d
commit 82a036a26d

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