diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-08-26 16:56:41 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 15:02:35 -0500 |
commit | 3f6cf9672ba1d25f10cbd0bb8ce1525c592a8e78 (patch) | |
tree | 7ba5e28b6b773414a831e175d8eab017b897baca /source4/selftest/selftest.pl | |
parent | ec180e2475bbdac03a3030f700d243799a4532a4 (diff) | |
download | samba-3f6cf9672ba1d25f10cbd0bb8ce1525c592a8e78.tar.gz samba-3f6cf9672ba1d25f10cbd0bb8ce1525c592a8e78.tar.bz2 samba-3f6cf9672ba1d25f10cbd0bb8ce1525c592a8e78.zip |
r24669: Add CSS to the test run HTML output. See http://samba.org/~jelmer/ for an
example of the current output.
(This used to be commit 1e57394e865a9122bddb3413088a19d4f57a3e3d)
Diffstat (limited to 'source4/selftest/selftest.pl')
-rwxr-xr-x | source4/selftest/selftest.pl | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/source4/selftest/selftest.pl b/source4/selftest/selftest.pl index 1dbb494edb..a10baebcf4 100755 --- a/source4/selftest/selftest.pl +++ b/source4/selftest/selftest.pl @@ -777,14 +777,7 @@ $target->stop(); $statistics->{END_TIME} = time(); my $duration = ($statistics->{END_TIME}-$statistics->{START_TIME}); -my $numfailed = $statistics->{SUITES_FAIL}; -if ($numfailed == 0) { - my $ok = $statistics->{TESTS_EXPECTED_OK} + - $statistics->{TESTS_EXPECTED_FAIL}; - print "ALL OK ($ok tests in $statistics->{SUITES_OK} testsuites)\n"; -} else { - $msg_ops->summary(); -} +$msg_ops->summary(); print "DURATION: $duration seconds\n"; my $failed = 0; @@ -801,7 +794,7 @@ foreach (<$prefix/valgrind.log*>) { } if ($opt_format eq "buildfarm") { - print "TEST STATUS: $numfailed\n"; + print "TEST STATUS: $statistics->{SUITES_FAIL}\n"; } -exit $numfailed; +exit $statistics->{SUITES_FAIL}; |