Otherwise the page is very empty and cryptic.
Signed-off-by: Francois Gouget fgouget@codeweavers.com --- winetest/build-patterns | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/winetest/build-patterns b/winetest/build-patterns index aa6d29f62..38bd7c041 100755 --- a/winetest/build-patterns +++ b/winetest/build-patterns @@ -1205,16 +1205,18 @@ EOF print $html "<h1>$title</h1>\n"; print $html "<ul>\n"; my @listids = ("recent", "newmode", "regular", "old"); - my $prevunit = ""; + my ($prevunit, $nolist) = ("", 1); foreach my $listid (@listids) { my $list = $lists{$listid}; my $count = @{$list->{testnames}}; next if (!$count); print $html "<li><a href='#$listid'>$count test units</a> $list->{desc}</li>\n"; + $nolist = 0; $list->{prevunit} = $prevunit; $prevunit = $list->{testnames}->[-1]; } + print $html "<p>No failures. Don't change anything!</p>\n" if ($nolist); print $html "</ul>\n";
# Link the last test unit of each list to the first one of the next list