diff options
| author | Jason Gross | 2020-05-19 16:09:47 -0400 |
|---|---|---|
| committer | Jason Gross | 2020-05-20 15:23:14 -0400 |
| commit | 0f8de9b967fe82ef8e9eef5e258d9ef96788929e (patch) | |
| tree | f6286d81a8e9e38e68b94172777c3d2fc32fa3f4 /tools | |
| parent | 5bf16099faa02b07c2f0e26927a56e26959b6128 (diff) | |
Print a newline at the end of timing tables
This, for example, improves the CI display, so that `$ echo
'end:coq.test'` does not appear on the same line as the end of the
timing table.
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/TimeFileMaker.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/TimeFileMaker.py b/tools/TimeFileMaker.py index c4620f5b50..a3078af4a1 100644 --- a/tools/TimeFileMaker.py +++ b/tools/TimeFileMaker.py @@ -468,6 +468,7 @@ def make_table_string(stats_dict, for name in names]) def print_or_write_table(table, files): + if table[-1] != '\n': table += '\n' if len(files) == 0 or '-' in files: if hasattr(sys.stdout, 'buffer'): sys.stdout.buffer.write(table.encode("utf-8")) |
