From e0d4bdbaa38a7441b0f38e115bd2daf3c6a05da3 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Tue, 15 Oct 2013 04:14:18 -0700 Subject: 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 Tested-by: Tom Stellard Signed-off-by: Dylan Baker --- templates/index.mako | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates') 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 @@ ## 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: ${line['text']} -- cgit v1.2.3