pike.git / src / testsuite.in

version» Context lines:

pike.git/src/testsuite.in:1:   START_MARKER - test_true([["$Id: testsuite.in,v 1.733 2004/06/30 14:12:25 grubba Exp $"]]); + test_true([["$Id: testsuite.in,v 1.734 2004/06/30 14:24:37 grubba 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:7545:    "#define TOSTR2(X) TOSTR(X)\n"    "constant val = TOSTR2(FOO);\n")()->val;   ]], "BAR")   test_equal([[    compile_string("#define FOO\n"    "#define TOSTR(X) #X\n"    "#define TOSTR2(X) TOSTR(X)\n"    "constant val = TOSTR2(FOO);\n")()->val;   ]], "")   test_equal([[ -  compile_string(Locale.Charset("ebcdic-us")-> +  compile_string(Locale.Charset.encoder("ebcdic-us")->    feed("#charset ebcdic-us\n"    "constant val = \"abc\";\n")->drain())()->val;   ]], "abc")   // The following two tests are in triplicate to force testing in all shifts.   test_do([[   #define FOO(X) X   string s = FOO (#"a   b   c");   ]]);