From 1eac5313477a1143d7b17ae6f130c6f099da4a69 Mon Sep 17 00:00:00 2001 From: Andrea Arteaga Date: Mon, 27 Feb 2012 16:04:00 +0100 Subject: Restore copy logs and input file. --- numbench/report.py | 4 ++++ 1 file changed, 4 insertions(+) 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() -- cgit v1.2.3-65-gdbad