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
[perl5.git] / 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';