From 172ce16d3f0c41c32b3410924a05680aee0ca5e6 Mon Sep 17 00:00:00 2001 From: Martin Peres Date: Fri, 28 Aug 2015 18:50:33 +0300 Subject: stats/gen_report: add notes to the reports --- stats/gen_report.py | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/stats/gen_report.py b/stats/gen_report.py index 82d8c86..1573ffd 100755 --- a/stats/gen_report.py +++ b/stats/gen_report.py @@ -226,6 +226,15 @@ html_template="""
Trends
+ % if len(notes) > 0: +

Notes

+ + % endif +

Stats

@@ -318,7 +327,8 @@ for commit in report.commits: html = Template(html_template).render(run_name=args.log_folder, report_folder=report_folder, benchmarks=report.benchmarks, - commits=report.commits) + commits=report.commits, + notes=report.notes) with open(html_name, 'w') as f: f.write(html) -- cgit v1.2.3