{{py: def formatOptions(str): '''Helper function for formatting the content of the options line''' optionsAsList = html_quote(' ' + str).split(' -') optionsAsList = [' -' + option + '' for option in optionsAsList[1:]] return html(''.join(optionsAsList)) }} {{for lineName in ['tool', 'limit', 'host', 'os', 'system', 'date', 'runset', 'branch', 'options', 'property', '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 runResult in line.results}} {{for column, value in zip(runResult.columns, runResult.values)}} {{if column.title == 'status'}} {{if runResult.logFile}} {{else}} {{endif}} {{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__) }} {{py:line = head['title']}} {{for cell, width in line.content}} {{endfor}} {{for line in foot}} {{for cell in line.content}} {{endfor}} {{endfor}} {{py:line = head['runset']}} {{for cell, width in line.content}} {{endfor}}
{{line.name}}{{formatOptions(cell) if line.id == 'options' else cell}}
{{line.shortFileName}}{{(value or '-').lower()}}{{(value or '-').lower()}}{{value or '-'}}
{{line.name}}{{cell}}
{{line.title}}{{cell}}
{{line.name}}{{cell}}