From: Michal Sojka Date: Thu, 9 Dec 2010 16:38:00 +0000 (+0100) Subject: Add links to script sources X-Git-Tag: fix-allnoconfig~233^2~27 X-Git-Url: http://rtime.felk.cvut.cz/gitweb/can-benchmark.git/commitdiff_plain/b892246b98870b63e93f766dc0e3764bf3683163?hp=967523e9c88a92e06a516676de3a2ddfb5a89158 Add links to script sources --- diff --git a/gw-tests/genhtml/genhtml.py b/gw-tests/genhtml/genhtml.py index 5425f5e..8906e55 100755 --- a/gw-tests/genhtml/genhtml.py +++ b/gw-tests/genhtml/genhtml.py @@ -172,7 +172,8 @@ class Test: print >>html, "" print >>html, "
" % (self.name+".png") print >>html, "Raw data
" - print >>html, "Back to top" % cdup + print >>html, "Script source
" % (cdup+self.name+".sh.html") + print >>html, "Back to top
" % cdup html.close() @@ -263,7 +264,7 @@ h4 { margin: 0; } print test.path test.generateHtml() - #os.system("source-highlight -d --output-dir=. ../*.sh") + os.system("source-highlight -d --output-dir=. ../*.sh > /dev/null") class Page: def __init__(self, dimPair, valsOther, tests):