Branch: Tag:

1999-08-25

1999-08-25 05:03:06 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

now says how many tests were skipped

Rev: bin/test_pike.pike:1.26

1:   #!/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:   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:    if(verbose)    werror("Not doing test "+(e+1)+"\n");    successes++; +  skipped++;    continue;    }    }
386:    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;   }