Roxen.git / server / etc / test / tests / pike_test_common.pike

version» Context lines:

Roxen.git/server/etc/test/tests/pike_test_common.pike:12:    res+=({sprintf("%t<%d>",arg,sizeof(arg))});    else if( objectp( arg ) )    if( arg->is_module )    res += ({ sprintf("%s",arg->my_configuration()->otomod[arg])});    else if( arg->is_configuration )    res += ({ sprintf("%s", arg->name ) });    else    res += ({ sprintf("%O", arg ) });    else    res+=({sprintf("%O",arg)}); -  return res * ", "; +  return replace(res * ", ","%","%%");   }      void report_1st(function cb, array args, function check )   {    if( !verbose )    return;    int checkid = ' ';    if( check == check_error )    checkid = '#';    else if( check == check_false )
Roxen.git/server/etc/test/tests/pike_test_common.pike:240:   {    return test_generic( check_not_equal( what ), f, @args );   }         void run_tests( Configuration c );      void low_run_tests( Configuration c,    function go_on )   { +  mixed err = catch {    run_tests( c ); -  +  }; +  if( err ) +  write( describe_backtrace( err ) );    go_on( current_test, tests_failed );   }