pike.git / src / testsuite.in

version» Context lines:

pike.git/src/testsuite.in:1: - test_true([["$Id: testsuite.in,v 1.581 2002/12/29 22:30:53 nilsson Exp $"]]); + test_true([["$Id: testsuite.in,v 1.582 2003/01/09 14:29:28 grubba Exp $"]]);      // This triggered a bug only if run sufficiently early.   test_compile_any([[#pike 7.2]])      cond([[all_constants()->_verify_internals]],   [[    test_do(_verify_internals())   ]]);   test_eq(1e1,10.0);   test_eq(1E1,10.0);
pike.git/src/testsuite.in:3257:   test_true(test()->a())   test_program(inherit test;)   test_program(inherit test; int a() { return foo; } )   test_define_program(test,[[class TEST { int a() { return 1; } }]])   test_program(inherit test; inherit TEST; )   test_do(add_constant("test");)      test_any([[    /* don't save parent */    class Foo { }; -  return function_object(object_program(Foo())) == -  object_program(this_object()); +  return (!function_object(object_program(Foo()))) && +  (function_program(object_program(Foo())) == +  object_program(this_object()));   ]], 1)      test_any([[    class Foo { };    return function_name(object_program(Foo()));   ]], "Foo")      test_any([[    int q;    return stringp(function_name( lambda() { return q; }));