aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2017-10-20 12:53:26 +0200
committerTibor Frank <tifrank@cisco.com>2017-10-20 10:55:41 +0000
commita1bd54a13c91f05356c70cc60c16163dd47bb4c4 (patch)
tree3bfb2428c64050fd1a5203f27848e2af74d348df
parenta979c491b972d36ad8f11f3edb9fccfb11409ac2 (diff)
Fix: PDF - Add dpdk plots
Change-Id: I0c76bfda6e84db4aee62b097282b9cf46fe51270 Signed-off-by: Tibor Frank <tifrank@cisco.com> (cherry picked from commit 7cfeed26cbc486a4e6898dc7696e0bd8300b3a04)
-rw-r--r--resources/tools/presentation/generator_report.py4
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)