From 284dce9fe29e103526f7ffe599e8ed39dedc61c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20H=C3=BCbinette=20=28Hubbe=29?= <hubbe@hubbe.net> Date: Tue, 24 Aug 1999 22:03:06 -0700 Subject: [PATCH] now says how many tests were skipped Rev: bin/test_pike.pike:1.26 --- bin/test_pike.pike | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bin/test_pike.pike b/bin/test_pike.pike index 3ec63d7671..a40ef3995c 100755 --- a/bin/test_pike.pike +++ b/bin/test_pike.pike @@ -1,6 +1,6 @@ #!/usr/local/bin/pike -/* $Id: test_pike.pike,v 1.25 1999/06/19 19:49:46 hubbe Exp $ */ +/* $Id: test_pike.pike,v 1.26 1999/08/25 05:03:06 hubbe Exp $ */ import Stdio; @@ -57,6 +57,7 @@ array find_testsuites(string dir) int main(int argc, string *argv) { int e, verbose, successes, errors, t, check; + int skipped; string *tests,tmp; program testprogram; int start, fail, mem; @@ -195,6 +196,7 @@ int main(int argc, string *argv) if(verbose) werror("Not doing test "+(e+1)+"\n"); successes++; + skipped++; continue; } } @@ -386,7 +388,7 @@ int main(int argc, string *argv) werror("Failed tests: "+errors+".\n"); } - werror("Total tests: %d\n",successes+errors); + werror("Total tests: %d (%d tests skipped)\n",successes+errors,skipped); return errors; } -- GitLab