From 80cc126259597148e21d27b495a6c021bb30f1e0 Mon Sep 17 00:00:00 2001 From: Michal Sojka Date: Thu, 3 Sep 2009 11:59:41 +0200 Subject: [PATCH] Copy kernel configs to results --- tests/genhtml.py | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) 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) -- 2.39.2