This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
make t/TEST print summary times consistently to two decimal places
authorDave Mitchell <davem@fdisolutions.com>
Wed, 18 May 2005 12:39:22 +0000 (12:39 +0000)
committerDave Mitchell <davem@fdisolutions.com>
Wed, 18 May 2005 12:39:22 +0000 (12:39 +0000)
p4raw-id: //depot/perl@24498

t/TEST

diff --git a/t/TEST b/t/TEST
index f724ecd..aad1660 100755 (executable)
--- a/t/TEST
+++ b/t/TEST
@@ -621,7 +621,7 @@ SHRDLU_5
        }
     }
     my ($user,$sys,$cuser,$csys) = times;
-    print sprintf("u=%g  s=%g  cu=%g  cs=%g  scripts=%d  tests=%d\n",
+    print sprintf("u=%.2f  s=%.2f  cu=%.2f  cs=%.2f  scripts=%d  tests=%d\n",
        $user,$sys,$cuser,$csys,$tested_files,$totmax);
     if ($ENV{PERL_VALGRIND}) {
        my $s = $valgrind == 1 ? '' : 's';