pike.git/
src/
testsuite.in
Branch:
Tag:
Non-build tags
All tags
No tags
2007-10-20
2007-10-20 13:49:36 by Henrik Grubbström (Grubba) <grubba@grubba.org>
6110a227b4b3726a3737a9ba272b316d44d894d8 (
15
lines) (+
14
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
Added tests for bug
2440 (#2440)
.
Rev: src/testsuite.in:1.791
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]])
8200:
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__))