pike.git / src / testsuite.in

version» Context lines:

pike.git/src/testsuite.in:1:   START_MARKER - test_true([["$Id: testsuite.in,v 1.833 2008/06/28 17:18:37 nilsson Exp $"]]); + test_true([["$Id: testsuite.in,v 1.834 2008/06/29 12:40:47 marcus 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:8493:   // Double expansion   string FILENAME = "";   #define FILENAME "conftest.h" + FILENAME   return #string FILENAME;   ]], "return 17;\n")      test_true( rm("conftest.h") )      test_true(intp(__LINE__))   test_true(stringp(__FILE__)) - test_eq(combine_path(__FILE__, - #ifdef __amigaos__ - "/" - #else - ".." - #endif - ),__DIR__) + test_eq(dirname(__FILE__),__DIR__)   test_true(stringp(__DATE__))   test_true([[ sscanf(__DATE__, "%3s %d %d", string m, int d, int y) == 3 &&    search(({"Jan", "Feb", "Mar", "Apr", "May", "Jun",    "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"}), m) != -1 &&    intp(d) && d>0 && d<32 && intp(y) ]])   test_true(stringp(__TIME__))   test_true([[ sscanf(__TIME__, "%d:%d:%d", int h, int m, int s) == 3 &&    intp(h) && intp(m) && intp(s) &&    h>=0 && m>=0 && s>=0 &&    h<24 && m<60 && s<61 ]])