write after each change

This commit is contained in:
agroce 2019-04-26 22:10:34 -07:00
parent 54bc7d19e2
commit 594f980872

View File

@ -229,6 +229,9 @@ def main():
if changed:
currentTest = newTest
print("WRITING REDUCED TEST WITH", len(currentTest), "BYTES TO", out)
with open(out, 'wb') as outf:
outf.write(currentTest)
s = structure(r)
else:
print("NO (MORE) REDUCTIONS FOUND")