summaryrefslogtreecommitdiffstats
path: root/source4/selftest/output
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-10-31 14:48:48 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:43:49 +0100
commit7267b3505889e00e0f13cd1b7fa9c5bb8dedb4e4 (patch)
treea9240a2d440b37c4567800a20968381f720b631c /source4/selftest/output
parent3c5a71f7e5aec48a1a195e5402f7214d481942d2 (diff)
downloadsamba-7267b3505889e00e0f13cd1b7fa9c5bb8dedb4e4.tar.gz
samba-7267b3505889e00e0f13cd1b7fa9c5bb8dedb4e4.tar.xz
samba-7267b3505889e00e0f13cd1b7fa9c5bb8dedb4e4.zip
r25764: Fix total number of tests count to not include skipped tests.
(This used to be commit d90b058cd48d8b08bb0a0cd6e97ad95062f8259e)
Diffstat (limited to 'source4/selftest/output')
-rw-r--r--source4/selftest/output/html.pm7
1 files changed, 3 insertions, 4 deletions
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 "<tr>\n";
print INDEX " <td class=\"testSuiteTotal\">Total</td>\n";
- print INDEX " <td></td>\n";
if ($st->{SUITES_FAIL} == 0) {
print INDEX " <td class=\"resultOk\">";
@@ -333,9 +332,9 @@ sub summary($)
foreach (@{$summ->{skip_testsuites}}) {
print SUMMARY "<tr>\n";
- print SUMMARY " <td>$$_[1]</td>\n";
- if (defined($$_[2])) {
- print SUMMARY " <td>$$_[2]</td>\n";
+ print SUMMARY " <td>$$_[0]</td>\n";
+ if (defined($$_[1])) {
+ print SUMMARY " <td>$$_[1]</td>\n";
} else {
print SUMMARY " <td></td>\n";
}