summaryrefslogtreecommitdiff
path: root/t/TEST
diff options
context:
space:
mode:
authorDave Mitchell <davem@fdisolutions.com>2005-05-18 12:39:22 +0000
committerDave Mitchell <davem@fdisolutions.com>2005-05-18 12:39:22 +0000
commitf47304e935f606e534d07025226f74138a95070d (patch)
treedf81b0af831ff0663db70523fdf75bb2f5ca687d /t/TEST
parent36768cf4ecea77bfd5cba13cb714b94a91cfd528 (diff)
downloadperl-f47304e935f606e534d07025226f74138a95070d.tar.gz
make t/TEST print summary times consistently to two decimal places
p4raw-id: //depot/perl@24498
Diffstat (limited to 't/TEST')
-rwxr-xr-xt/TEST2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/TEST b/t/TEST
index f724ecd83c..aad1660a5e 100755
--- 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';