pike.git / src / modules / _Stdio / kqueuetest.pike

version» Context lines:

pike.git/src/modules/_Stdio/kqueuetest.pike:14:   /*    * Some helper functions.    */      constant log_msg = Tools.Testsuite.log_msg;   constant log_status = Tools.Testsuite.log_status;      void exit_test()   {    Tools.Testsuite.report_result (max (testno - failures, 0), failures); -  exit(!!failure); +  exit(!!failures);   }      void fail_test(string msg)   {    log_msg("Test %d failed: %s.\n", testno, msg);    failures++;    call_out(next, 0);   }      /*