diff options
author | Tibor Frank <tifrank@cisco.com> | 2017-10-20 12:53:26 +0200 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2017-10-20 10:55:18 +0000 |
commit | 7cfeed26cbc486a4e6898dc7696e0bd8300b3a04 (patch) | |
tree | eac3391918a42de3007508762cbcdd32cc2f5ae7 /resources | |
parent | 2785bf138509da1957714fd97e20be0a9a082e5e (diff) |
Fix: PDF - Add dpdk plots
Change-Id: I0c76bfda6e84db4aee62b097282b9cf46fe51270
Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources')
-rw-r--r-- | resources/tools/presentation/generator_report.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/resources/tools/presentation/generator_report.py b/resources/tools/presentation/generator_report.py index 55aa24b02f..cf8a8d1675 100644 --- a/resources/tools/presentation/generator_report.py +++ b/resources/tools/presentation/generator_report.py @@ -140,7 +140,9 @@ def generate_pdf_report(release, spec, versions): convert_plots = "xvfb-run -a wkhtmltopdf {html} {pdf}.pdf" # Convert PyPLOT graphs in HTML format to PDF. - plots = get_files(spec.environment["paths"]["DIR[STATIC,VPP]"], "html") + plots = get_files(spec.environment["paths"]["DIR[STATIC,VPP]"], "html") + plots.extend(get_files(spec.environment["paths"]["DIR[STATIC,DPDK]"], + "html")) for plot in plots: file_name = "{0}".format(plot.rsplit(".", 1)[0]) cmd = convert_plots.format(html=plot, pdf=file_name) |