X-Git-Url: http://rtime.felk.cvut.cz/gitweb/can-benchmark.git/blobdiff_plain/151cc32b933d28ddbd15d5ce264d12805a169f01..8fffb6b47784e561197f78dd8424f2cd2a1fcd1e:/gw-tests/genhtml/genhtml.py?ds=sidebyside diff --git a/gw-tests/genhtml/genhtml.py b/gw-tests/genhtml/genhtml.py index 3dbb4f0..fc7620b 100755 --- a/gw-tests/genhtml/genhtml.py +++ b/gw-tests/genhtml/genhtml.py @@ -9,10 +9,8 @@ import traceback class DimValue(object): def __new__(cls, dim, value): if value in dim: - print "OLD", value return dim[value] else: - print "NEW", value return super(DimValue, cls).__new__(cls, dim, value) def __init__(self, dim, value): self.dim = dim @@ -167,20 +165,23 @@ class Test(object):
%s | " % d, " ".join(links), " |
---|
%s | " % d + print >>html, "→ " % \ Page((self.dimy, d), self.valsOther - d + self.dimx.getValue(0), self.tests).getName() - print >>html, "Y axis; " % \ + print >>html, "↓ | " % \ Page((d, self.dimx), self.valsOther - d + self.dimy.getValue(0), self.tests).getName() links = [] + print >>html, ""
for v in d:
if v in self.valsOther:
- links.append(str(v))
+ links.append("%s"%str(v))
else:
vv = DimValues(self.valsOther)
vv.replace(v)
- links.append("%s"%(urllib.quote(Page((self.dimy, self.dimx), vv, self.tests).getName()), str(v)))
- print >>html, " | ".join(links)
- print >>html, " " - try: - print >>html, d.htmlPreamble() - except Exception: - pass - print >>html, "" + links.append("%s"%(urllib.quote(Page((self.dimy, self.dimx), vv, self.tests).getName()), str(v))) + print >>html, " ".join(links) + print >>html, " |
---|
%s → %s ↓ | " % (self.dimx.name, self.dimy.name)
for x in self.dimx: