pike.git / src / testsuite.in

version» Context lines:

pike.git/src/testsuite.in:1:   START_MARKER - test_true([["$Id: testsuite.in,v 1.739 2004/10/06 18:40:53 mast Exp $"]]); + test_true([["$Id: testsuite.in,v 1.740 2004/10/22 20:18:35 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:7559:    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.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. +  + // The following three tests are in triplicate to force testing in all shifts.   test_do([[   #define FOO(X) X   string s = FOO (#"a   b   c");   ]]);   test_do([[   #define FOO(X) X   string s = FOO (#"a   b   c");   ]]);   test_do([[   #define FOO(X) X   string s = FOO (#"a   b   c");   ]]); -  + test_do([[ + #define FOO(X) X + string s = FOO (#" +  + "); + ]]); + test_do([[ + #define FOO(X) X + string s = FOO (#" +  + "); + ]]); + test_do([[ + #define FOO(X) X + string s = FOO (#" +  + "); + ]]);   test_any([[   #define FOO(X) X   FOO ("\   \   ");   return __LINE__;   ]], 6);   test_any([[   #define FOO(X) X   FOO ("\