Added option for updating a CSV file with test results

This is mostly for the bench runner which will contain more interesting
results besides just pass/fail.
This commit is contained in:
Christopher Haster
2022-09-12 12:17:46 -05:00
parent 03c1a4ee2e
commit 23fba40f20
3 changed files with 100 additions and 37 deletions

View File

@@ -41,6 +41,8 @@ def main(path='-', *, lines=1, sleep=0.01, keep_open=False):
event.set()
if not keep_open:
break
# don't just flood open calls
time.sleep(sleep)
done = True
th.Thread(target=read, daemon=True).start()