pike.git / src / testsuite.in

version» Context lines:

pike.git/src/testsuite.in:1:   START_MARKER - test_true([["$Id: testsuite.in,v 1.781 2007/05/20 19:16:48 nilsson Exp $"]]); + test_true([["$Id: testsuite.in,v 1.782 2007/06/09 22:46:09 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:7367:   ]], "0")      // testing @   test_equal(({1,2,3}),lambda(mixed ... x) { return x; }(@a()))   test_equal("foo"/"",lambda(mixed ... x) { return x; }(@a()))   test_any([[array a=({1,2,3}); return lambda(mixed ... x) { return x; }(@a) !=a]],1)   test_any([[array z=({lambda(mixed x){return x;},17});return `()(@z);]],17)      // testing +=   test_any(int a=1; a+=10; return a,11) + test_any_equal(mapping m=([]); m->x+=([]); return m->x, ([])) + test_any_equal(mapping m=([]); m->x+=(<>); return m->x, (<>)) + test_any_equal(mapping m=([]); m->x+=({}); return m->x, ({})) + test_any_equal([[ +  array a = ({}); +  catch { +  a += Array.reduce(`+,({})); +  }; +  return a; + ]],({})) +    // testing -=   test_any(int a=1; a-=10; return a,-9)   // testing &=   test_any(int a=3; a&=10; return a,2)   // testing |=   test_any(int a=3; a|=10; return a,11)   // testing ^=   test_any(int a=3; a^=10; return a,9)   // testing <<=   test_any(int a=3; a<<=2; return a,12)