{{py: def formatOptions(str): '''Helper function for formatting the content of the options line''' return html(html_quote(str) .replace(' -', '
-') .replace('=', '=') ) }} {{for lineName in ['tool', 'limit', 'host', 'os', 'system', 'date', 'test', 'branch', 'options', 'title']}} {{if lineName in head and head[lineName]}} {{py:line = head[lineName]}} {{for cell, width in line.content}} {{endfor}} {{endif}} {{endfor}} {{for line in body}} {{for test in line.results}} {{for column, value in zip(test.columns, test.values)}} {{if column.title == 'status'}} {{else}} {{endif}} {{endfor}} {{endfor}} {{endfor}} {{py: def formatStatTitle(stat): '''Helper function to create the tooltip of a status cell containing average etc.''' if not stat or not stat.avg: return None return 'Min: {min}, Max: {max}, Average: {avg:.3f}, Median: {median}'.format(**stat.__dict__) }} {{for line in foot}} {{for cell in line.content}} {{endfor}} {{endfor}}
{{line.name}}{{formatOptions(cell) if line.id == 'options' else cell}}
{{line.shortFileName}}{{value.lower()}}{{value or '-'}}
{{line.title}}{{cell}}