X-Git-Url: http://rtime.felk.cvut.cz/gitweb/can-benchmark.git/blobdiff_plain/86dbfae2799a16d2a50029aec970c1ef2926731a..4c676bfe792052ff8c5f8e1e61f9bfb6248d9527:/tests/genhtml.py
diff --git a/tests/genhtml.py b/tests/genhtml.py
index cfd3907..9367a1e 100755
--- a/tests/genhtml.py
+++ b/tests/genhtml.py
@@ -30,6 +30,13 @@ class AxisKern(Axis):
if i>0: kver=v[:i]
else: kver=v
return v+"
config"%(urllib.quote(kver))
+ def versions(self):
+ for v in self.values:
+ i=v.find(":")
+ if i>0: kver=v[:i]
+ else: kver=v
+ yield kver
+
class AxisClck(Axis):
@@ -149,9 +156,10 @@ try:
os.remove("index.html")
except OSError: pass
-os.symlink("%s-%s.html"%(kernels.type, kernels[0]), "index.html")
+os.symlink("%s-%s.html"%(clocks.type, clocks[0]), "index.html")
os.system("source-highlight -d --output-dir=. ../*.sh")
-
+for v in kernels.versions():
+ os.system("cp /boot/config-%s ."%v)