summaryrefslogtreecommitdiff
path: root/stats
diff options
context:
space:
mode:
authorMartin Peres <martin.peres@linux.intel.com>2015-08-28 18:50:33 +0300
committerMartin Peres <martin.peres@linux.intel.com>2015-08-31 19:58:14 +0300
commit172ce16d3f0c41c32b3410924a05680aee0ca5e6 (patch)
treea56e41eb2287d142bd77896f590dccf505dc3d4d /stats
parenta17257448d25be15cda70b951d8e8a5c1776b0ab (diff)
stats/gen_report: add notes to the reports
Diffstat (limited to 'stats')
-rwxr-xr-xstats/gen_report.py12
1 files changed, 11 insertions, 1 deletions
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="""
<center><img src="${report_folder}/overview.svg" alt="Trends"/></center>
+ % if len(notes) > 0:
+ <h2>Notes</h2>
+ <ul>
+ % for note in notes:
+ <li>${note}</li>
+ % endfor
+ </ul>
+ % endif
+
<h2>Stats</h2>
<table border="1" style="">
@@ -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)