]> granicus.if.org Git - curl/commitdiff
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 95fc2f250f61228136fafaf6c17fed8592cfb5e8..dc695dbe92e62b7c4d3312ff8a2bcd4fb5ac1bf0 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";