Fix: PDF - Add dpdk plots 34/8934/2
authorTibor Frank <tifrank@cisco.com>
Fri, 20 Oct 2017 10:53:26 +0000 (12:53 +0200)
committerTibor Frank <tifrank@cisco.com>
Fri, 20 Oct 2017 10:55:18 +0000 (10:55 +0000)
Change-Id: I0c76bfda6e84db4aee62b097282b9cf46fe51270
Signed-off-by: Tibor Frank <tifrank@cisco.com>
resources/tools/presentation/generator_report.py

index 55aa24b..cf8a8d1 100644 (file)
@@ -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)

©2016 FD.io a Linux Foundation Collaborative Project. All Rights Reserved.
Linux Foundation is a registered trademark of The Linux Foundation. Linux is a registered trademark of Linus Torvalds.
Please see our privacy policy and terms of use.