git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b3830f
)
r22384: print out the total selftest runtime
author
Stefan Metzmacher
<metze@samba.org>
Thu, 19 Apr 2007 17:50:57 +0000
(17:50 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 19:51:12 +0000
(14:51 -0500)
and the time for each test
we hit the max runtime of smbd on some hosts
metze
(This used to be commit
7b173c3421c30d6b5ce67f87ee81f011734e8c1a
)
source4/script/tests/selftest.pl
patch
|
blob
|
history
diff --git
a/source4/script/tests/selftest.pl
b/source4/script/tests/selftest.pl
index a155220e030ff676572beab875dde4e0c90158d6..2477cb153211e07668e089d84c98258ad2ed9910 100755
(executable)
--- a/
source4/script/tests/selftest.pl
+++ b/
source4/script/tests/selftest.pl
@@
-191,6
+191,7
@@
sub buildfarm_start_msg($)
$out .= "Running test $state->{NAME} (level 0 stdout)\n";
$out .= "--==--==--==--==--==--==--==--==--==--==--\n";
$out .= scalar(localtime())."\n";
+ $out .= "SELFTEST RUNTIME: " . ($state->{START} - $start) . "s";
$out .= "NAME: $state->{NAME}\n";
$out .= "CMD: $state->{CMD}\n";
@@
-211,6
+212,8
@@
sub buildfarm_end_msg($$$)
my ($state, $expected_ret, $ret) = @_;
my $out = "";
+ $out .= "TEST RUNTIME: " . (time() - $state->{START}) . "s";
+
if ($ret == $expected_ret) {
$out .= "ALL OK\n";
} else {