diff options
author | Dylan Baker <baker.dylan.c@gmail.com> | 2013-10-15 04:14:18 -0700 |
---|---|---|
committer | Dylan Baker <baker.dylan.c@gmail.com> | 2013-11-14 14:30:06 -0800 |
commit | e0d4bdbaa38a7441b0f38e115bd2daf3c6a05da3 (patch) | |
tree | 9e3d1452058132f9aa3828fffa4fdd60a08afd6c /templates | |
parent | 9c127a4e62abfaee2e54bd487243a60afb697978 (diff) |
summary.py: Treat subtests as groups
This patch causes tests with subtests to be treated as a group, rather
than as a test. This means that the status the test itself stores will
be overwritten by those in the subtest.
There is one oddity about this to be aware of; a test with subtests that
crashes or fails before any of the subtests run will report a fraction
of 0/1 with the appropriate color, even though all of the subtests will
report Not Run.
v2: - Add subtests to the results file as full tests (the internal view
of the json), without this they will not appear in changes, fixes,
etc
- Render the background color of Not Run tests correctly in HTML
- Apply subtest fractions down the stack
v3: - Don't generate a link for Not Run tests in html page
Tested-by: Ben Widawsky <ben@bwidawsk.net>
Tested-by: Tom Stellard <thomas.stellard@amd.com>
Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/index.mako | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/index.mako b/templates/index.mako index e959a27e2..1ca46d34f 100644 --- a/templates/index.mako +++ b/templates/index.mako @@ -60,7 +60,7 @@ <td class="${line['class']}"> ## If the result is in the excluded results page list from ## argparse, just print the text, otherwise add the link - % if line['class'] not in exclude: + % if line['class'] not in exclude and line['href'] is not None: <a href="${line['href']}"> ${line['text']} </a> |