Branch: Tag:

2001-01-31

2001-01-31 05:34:56 by Per Hedbor <ph@opera.com>

Some more tests

Rev: server/etc/test/tests/RoxenTest_base.pike:1.2
Rev: server/etc/test/tests/pike_test_common.pike:1.5

46:      void report_test_failure( mixed err, function cb, array args, int st )   { -  report_error("FAILED\n"); +  report_error(" FAILED\n");    if( err ) report_error( do_describe_error( err ) );    tests_failed++;   }
55:   void report_test_ok( mixed err, function cb, array args, int st )   {    int tt = (gethrtime()-st); +  if( tt > 200000 )    report_debug(" %4dms\n", tt/1000); -  +  else +  report_debug( " PASS\n" );   // if( err ) report_error( do_describe_error( err ) );   }