move start time

This commit is contained in:
Alex Groce 2018-09-05 18:51:51 -07:00
parent 03c47607cf
commit bb1ca0f8c0

View File

@ -56,6 +56,8 @@ def main():
checkString = args.criteria
whichTest = args.which_test
start = time.time()
def runCandidate(candidate):
if (time.time() - start) > args.timeout:
raise TimeoutException
@ -120,8 +122,6 @@ def main():
print("SHRINKING TO IGNORE UNREAD BYTES")
currentTest = currentTest[:s[1]+1]
start = time.time()
changed = True
try:
while changed: