From b35c26b751f3dff00a03184b72f024e87742c48c Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 3 Jan 2002 08:22:05 +0000 Subject: added a little percentage for "ok coverage" --- tests/runtests.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/runtests.pl b/tests/runtests.pl index 95fc2f250..dc695dbe9 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -912,7 +912,8 @@ for(keys %run) { } if($total) { - print "$ok tests out of $total reported OK\n"; + printf("$ok tests out of $total reported OK: %d%%\n", + $ok/$total*100); if($ok != $total) { print "These test cases failed: $failed\n"; -- cgit v1.2.3