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.
758
2005/
11/
12
20
:
23
:
53
nilsson
Exp $"]]);
+
test_true([["$Id: testsuite.in,v 1.
759
2005/
12
/
06
14
:
08
:
20
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:7716:
test_eq([[cpp("\\\n")]], "# 1 \"-\"\n\n") test_eq([[cpp("#if 1\\\n-1\nfoo\n#endif\n")]], "# 1 \"-\"\n\n\n\n\n") test_any([[ Stdio.write_file("testsuite_test.h", ""); return compile_string(#" #include \"\\ testsuite_test.h\" int line = __LINE__; ")()->line; ]], 4)
+
test_do([[cpp(#"
+
#define FOO(X) X
+
FOO(// Pike 7.6 and earlier don't seem to like single
+
/* quotes (') in comments in macro arguments. */
+
arg)")]])
// 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