summaryrefslogtreecommitdiff
path: root/piglit-summary-html.py
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2012-02-24 17:58:22 -0800
committerKenneth Graunke <kenneth@whitecape.org>2013-05-08 11:35:04 -0700
commit79a0d42119fae83a22c8c8d0490aff554984777f (patch)
tree9d2a3550d08857365aeb8085cd3f3519388796c9 /piglit-summary-html.py
parenta2257cbf650c48242baea28f5022e85402400cca (diff)
html: Rework colgroup generation.
There's no need to specify width="50pt" on every <col/>; we can easily specify a width for all but the first column with CSS3. At that point, using a template file that contains only <col/> seems absurd; just repeat that the right number of times in the python code. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Dylan Baker <baker.dylan.c@gmail.com>
Diffstat (limited to 'piglit-summary-html.py')
-rwxr-xr-xpiglit-summary-html.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/piglit-summary-html.py b/piglit-summary-html.py
index d2fe5eed6..0f3e049de 100755
--- a/piglit-summary-html.py
+++ b/piglit-summary-html.py
@@ -62,7 +62,6 @@ ResultListItem = readfile(os.path.join(templatedir, 'result_listitem.html'))
ResultMString = readfile(os.path.join(templatedir, 'result_mstring.html'))
Index = readfile(os.path.join(templatedir, 'index.html'))
-IndexTestrun = readfile(os.path.join(templatedir, 'index_testrun.html'))
IndexTestrunB = readfile(os.path.join(templatedir, 'index_testrunb.html'))
IndexTestrunBHref = readfile(os.path.join(templatedir, 'index_testrunb_href.html'))
IndexGroup = readfile(os.path.join(templatedir, 'index_group.html'))
@@ -232,7 +231,7 @@ results is an array containing the top-level results dictionarys.
return IndexTestrunB % tr.__dict__
group = buildGroupSummary(0, summary.root, showcurrent)
- testruns = "".join([IndexTestrun % tr.__dict__ for tr in summary.testruns])
+ testruns = '<col/>' * len(summary.testruns)
testrunsb = "".join([testrunb(tr) for tr in summary.testruns])
tolist = SummaryPages.keys()