pike.git / src / testsuite.in

version» Context lines:

pike.git/src/testsuite.in:1: - test_true([["$Id: testsuite.in,v 1.570 2002/11/28 19:16:33 nilsson Exp $"]]); + test_true([["$Id: testsuite.in,v 1.571 2002/11/28 20:11:43 nilsson 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:7792:      // - backtrace   test_true(arrayp(backtrace()))   test_eq(backtrace()[-1][2],a)      // - call_function   test_eq(1,call_function(a))   test_eq(1,call_function(lambda(int a){ return a; },1))   test_eq(1,call_function(intp,1))    - // - clone - test_true(objectp(clone(compile_string("int foo() { return 17; }")))) - test_eq(clone(compile_string("int foo() { return 17; }"))->foo(),17) + // - new/clone + test_true(objectp(new(compile_string("int foo() { return 17; }")))) + test_eq(new(compile_string("int foo() { return 17; }"))->foo(),17) + test_true([[ + #pike 7.2 + objectp(clone(compile_string("int foo() { return 17; }"))) ]]) + test_eq([[ + #pike 7.2 + clone(compile_string("int foo() { return 17; }"))->foo() ]],17)      // - combine_path   test_eq([[combine_path("/foo/bar/gazonk/","..")]],"/foo/bar")   test_eq([[combine_path("/foo/bar/gazonk","..")]],"/foo/bar")   test_eq([[combine_path("/foo/bar/", "gazonk")]],"/foo/bar/gazonk")   test_eq([[combine_path("/foo/bar", "gazonk")]],"/foo/bar/gazonk")   test_eq([[combine_path("/.../","sune")]],"/.../sune")   test_eq([[combine_path("/",".")]],"/")   test_eq([[combine_path("/","foo/.../sune")]],"/foo/.../sune")   test_eq([[combine_path("/./foo/bar//gazonk/","../")]],"/foo/bar/")
pike.git/src/testsuite.in:9104:   test_compile(   [[    array tz_ux(int ux)    {    if (ux<-0x80000000 || ux>0x7fffffff)    error("bah\n");    return ({});    };   ]]);    - // - Calendar +       // - Filesystem      test_true([[    object fs=Filesystem.System();    return 1;   ]])      // - LR   test_program([[ Parser.LR.Parser p =