added a little percentage for "ok coverage"
authorDaniel Stenberg <daniel@haxx.se>
Thu, 3 Jan 2002 08:22:05 +0000 (08:22 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 3 Jan 2002 08:22:05 +0000 (08:22 +0000)
tests/runtests.pl

index 95fc2f2..dc695db 100755 (executable)
@@ -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";