Made test.py output parsable by summary.py

Also fixed an issue with truncation that resulted in a bunch of null
bytes being injected into the CSV output.
This commit is contained in:
Christopher Haster
2022-09-16 03:55:34 -05:00
parent acdea1880e
commit 1fcd82d5d8
2 changed files with 6 additions and 4 deletions

View File

@@ -18,7 +18,8 @@ CSV_PATHS = ['*.csv']
MERGES = {
'add': (
['code_size', 'data_size', 'stack_frame', 'struct_size',
'coverage_lines', 'coverage_branches'],
'coverage_lines', 'coverage_branches',
'test_passed'],
lambda xs: sum(xs[1:], start=xs[0])
),
'mul': (