summaryrefslogtreecommitdiffstats
path: root/poky/scripts/lib/build_perf/html.py
diff options
context:
space:
mode:
Diffstat (limited to 'poky/scripts/lib/build_perf/html.py')
-rw-r--r--poky/scripts/lib/build_perf/html.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/poky/scripts/lib/build_perf/html.py b/poky/scripts/lib/build_perf/html.py
new file mode 100644
index 000000000..578bb162e
--- /dev/null
+++ b/poky/scripts/lib/build_perf/html.py
@@ -0,0 +1,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')
OpenPOWER on IntegriCloud