diff options
-rwxr-xr-x | source4/script/tests/selftest.pl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/script/tests/selftest.pl b/source4/script/tests/selftest.pl index a155220e03..2477cb1532 100755 --- 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 { |