Code Review
/
csit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(from parent 1:
a979c49
)
Fix: PDF - Add dpdk plots
35/8935/1
author
Tibor Frank
<tifrank@cisco.com>
Fri, 20 Oct 2017 10:53:26 +0000
(12:53 +0200)
committer
Tibor Frank
<tifrank@cisco.com>
Fri, 20 Oct 2017 10:55:41 +0000
(10:55 +0000)
Change-Id: I0c76bfda6e84db4aee62b097282b9cf46fe51270
Signed-off-by: Tibor Frank <tifrank@cisco.com>
(cherry picked from commit
7cfeed26cbc486a4e6898dc7696e0bd8300b3a04
)
resources/tools/presentation/generator_report.py
patch
|
blob
|
history
diff --git
a/resources/tools/presentation/generator_report.py
b/resources/tools/presentation/generator_report.py
index
55aa24b
..
cf8a8d1
100644
(file)
--- 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)