From 7267b3505889e00e0f13cd1b7fa9c5bb8dedb4e4 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Wed, 31 Oct 2007 14:48:48 +0100 Subject: r25764: Fix total number of tests count to not include skipped tests. (This used to be commit d90b058cd48d8b08bb0a0cd6e97ad95062f8259e) --- source4/selftest/output/html.pm | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'source4/selftest/output/html.pm') diff --git a/source4/selftest/output/html.pm b/source4/selftest/output/html.pm index 9e83821bc1..fc034cc95f 100644 --- a/source4/selftest/output/html.pm +++ b/source4/selftest/output/html.pm @@ -256,7 +256,6 @@ sub summary($) my $st = $self->{statistics}; print INDEX "\n"; print INDEX " Total\n"; - print INDEX " \n"; if ($st->{SUITES_FAIL} == 0) { print INDEX " "; @@ -333,9 +332,9 @@ sub summary($) foreach (@{$summ->{skip_testsuites}}) { print SUMMARY "\n"; - print SUMMARY " $$_[1]\n"; - if (defined($$_[2])) { - print SUMMARY " $$_[2]\n"; + print SUMMARY " $$_[0]\n"; + if (defined($$_[1])) { + print SUMMARY " $$_[1]\n"; } else { print SUMMARY " \n"; } -- cgit