pike.git / src / testsuite.in

version» Context lines:

pike.git/src/testsuite.in:1:   START_MARKER - test_true([["$Id: testsuite.in,v 1.767 2006/07/07 18:10:45 mast Exp $"]]); + test_true([["$Id: testsuite.in,v 1.768 2006/09/04 12:11:00 nilsson Exp $"]]);      // This triggered a bug only if run sufficiently early.   test_compile_any([[#pike 7.2]])   test_compile_any([[#pike 7.4]])   test_compile_any([[#pike 7.0]])   test_compile_any([[#pike 0.6]])      cond([[all_constants()->_verify_internals]],   [[    test_do(_verify_internals())
pike.git/src/testsuite.in:4169:    inherit A;    array a = ({1});    };    object o = B();    o->a += ({2});    return o->a + ({o->f});   ]], ({1,2,17}))   ]])      test_true(mappingp(_memory_usage())) + test_any([[ +  int ret = 1; +  foreach(_memory_usage(); string type; int value) +  if(value<0) +  { +  werror("_memory_usage()->%s has value %d which is <0\n", +  type, value); +  ret = 0; +  } +  return ret; + ]],1)   test_true(_refs(""));   test_true(_refs(({})));   test_true(_refs(([])));   test_true(_refs(this_object()))   test_true(arrayp( _next(({})) || _prev(({}))))   test_do(object o=this_object(); while(o=_next(o)))   test_do(object o=this_object(); while(o=_prev(o)))      test_any([[    object q=class {}();