Branch: Tag:

2001-01-31

2001-01-31 04:26:45 by Per Hedbor <ph@opera.com>

Guess what? More tests!

Rev: server/etc/test/tests/RoxenTest_base.pike:1.1
Rev: server/etc/test/tests/db/RoxenTest_dbmanager.pike:1.2
Rev: server/etc/test/tests/echo.pike:1.1
Rev: server/etc/test/tests/pike_test_common.pike:1.4

30:    check == check_is_module )    checkid = '~';    -  report_error(" Test %3d %c%-40s ", current_test, -  checkid,sprintf("%O("+describe_arglist( args )+")",cb)[..39] +  report_error("%3d %c%-66s ", current_test, +  checkid,sprintf("%O("+describe_arglist( args )+")",cb)[..65]    );   }   
54:      void report_test_ok( mixed err, function cb, array args, int st )   { -  report_error("OK [%dms]\n", (gethrtime()-st)/1000); +  int tt = (gethrtime()-st); +  report_debug(" %4dms\n", tt/1000);   // if( err ) report_error( do_describe_error( err ) );   }