This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36768cf
)
make t/TEST print summary times consistently to two decimal places
author
Dave Mitchell
<davem@fdisolutions.com>
Wed, 18 May 2005 12:39:22 +0000
(12:39 +0000)
committer
Dave Mitchell
<davem@fdisolutions.com>
Wed, 18 May 2005 12:39:22 +0000
(12:39 +0000)
p4raw-id: //depot/perl@24498
t/TEST
patch
|
blob
|
blame
|
history
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';