pike.git / bin / test_pike.pike

version» Context lines:

pike.git/bin/test_pike.pike:1:   #!/usr/local/bin/pike    - /* $Id: test_pike.pike,v 1.13 1998/04/17 05:04:49 hubbe Exp $ */ + /* $Id: test_pike.pike,v 1.14 1998/10/14 05:47:06 hubbe Exp $ */      #include <simulate.h>      #if !efun(_verify_internals)   #define _verify_internals()   #endif      int foo(string opt)   {    if(opt=="" || !opt) return 1;
pike.git/bin/test_pike.pike:114:    successes++;    continue;    }    }       sscanf(test,"%s\n%s",type,test);    sscanf(type,"%*s expected result: %s",type);       if(verbose)    { -  werror("Doing test "+(e+1)+"\n"); +  werror("Doing test %d (%d total)\n",e+1,successes+errors+1);    if(verbose>1)    werror(test+"\n");    }       if(check > 1) _verify_internals();       string fname = argv[f] + ": Test " + (e + 1);       switch(type)    {