diff options
Diffstat (limited to 'numbench')
-rw-r--r-- | numbench/report.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/numbench/report.py b/numbench/report.py index c080b1f..ecb13b0 100644 --- a/numbench/report.py +++ b/numbench/report.py @@ -108,6 +108,10 @@ def saveReport(): fname = pjoin(cfg.reportdir, imgpath) p.savePlot(fname) html.addFig(testdescr[operation], image=imgpath) + + # Copy logs and input file + copytree(cfg.logdir, pjoin(cfg.reportdir, 'log')) + fcopy(cfg.inputfile, pjoin(cfg.reportdir, basename(cfg.inputfile))); # Close HTML file html.close() |