summaryrefslogtreecommitdiffstats
path: root/scripts/lib/build_perf/html.py
blob: 578bb162ee296a673f6b3c06d996f97d33b8af81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#
# Copyright (c) 2017, Intel Corporation.
#
# This program is free software; you can redistribute it and/or modify it
# under the terms and conditions of the GNU General Public License,
# version 2, as published by the Free Software Foundation.
#
# This program is distributed in the hope it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
# more details.
#
"""Helper module for HTML reporting"""
from jinja2 import Environment, PackageLoader


env = Environment(loader=PackageLoader('build_perf', 'html'))

template = env.get_template('report.html')