1 |
commit: 1eac5313477a1143d7b17ae6f130c6f099da4a69 |
2 |
Author: Andrea Arteaga <andyspiros <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Feb 27 15:04:00 2012 +0000 |
4 |
Commit: Andrea Arteaga <andyspiros <AT> gmail <DOT> com> |
5 |
CommitDate: Mon Feb 27 15:04:00 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/auto-numerical-bench.git;a=commit;h=1eac5313 |
7 |
|
8 |
Restore copy logs and input file. |
9 |
|
10 |
--- |
11 |
numbench/report.py | 4 ++++ |
12 |
1 files changed, 4 insertions(+), 0 deletions(-) |
13 |
|
14 |
diff --git a/numbench/report.py b/numbench/report.py |
15 |
index c080b1f..ecb13b0 100644 |
16 |
--- a/numbench/report.py |
17 |
+++ b/numbench/report.py |
18 |
@@ -108,6 +108,10 @@ def saveReport(): |
19 |
fname = pjoin(cfg.reportdir, imgpath) |
20 |
p.savePlot(fname) |
21 |
html.addFig(testdescr[operation], image=imgpath) |
22 |
+ |
23 |
+ # Copy logs and input file |
24 |
+ copytree(cfg.logdir, pjoin(cfg.reportdir, 'log')) |
25 |
+ fcopy(cfg.inputfile, pjoin(cfg.reportdir, basename(cfg.inputfile))); |
26 |
|
27 |
# Close HTML file |
28 |
html.close() |