pike.git
/
src
/
testsuite.in
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/testsuite.in:1:
START_MARKER
-
test_true([["$Id: testsuite.in,v 1.
790
2007/10/
16
09
:
14
:
05
grubba Exp $"]]);
+
test_true([["$Id: testsuite.in,v 1.
791
2007/10/
20
13
:
49
:
36
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:8193:
test_true( Stdio.write_file("conftest.h", "return 17;\n") ) test_any([[ #include "conftest.h" ]],17) dnltest_any([[ dnl#include <conftest.h> dnl]],17)
+
test_any([[
+
// bug 2440 (a)
+
#define FILENAME "conftest.h"
+
return #string FILENAME;
+
]], "return 17;\n")
+
+
test_any([[
+
// bug 2440 (b)
+
#define FILENAME "conftest.h"
+
#include FILENAME
+
]], 17)
+
test_true( rm("conftest.h") ) test_true(intp(__LINE__)) test_true(stringp(__FILE__)) 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__))