From 7cfeed26cbc486a4e6898dc7696e0bd8300b3a04 Mon Sep 17 00:00:00 2001 From: Tibor Frank Date: Fri, 20 Oct 2017 12:53:26 +0200 Subject: [PATCH] Fix: PDF - Add dpdk plots Change-Id: I0c76bfda6e84db4aee62b097282b9cf46fe51270 Signed-off-by: Tibor Frank --- resources/tools/presentation/generator_report.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) -- 2.16.6