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.
893
2010/04/
10
17
:
12
:
42
mast Exp $"]]);
+
test_true([["$Id: testsuite.in,v 1.
894
2010/04/
16
00
:
16
:
16
mast 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:6909:
return m->rounds; ]], 2) cond([[has_value (cpp ("__AUTO_BIGNUM__"), "1")]], [[ test_true([[Pike.count_memory (-1, Int.NATIVE_MAX + 1) > Pike.count_memory (-1, 17)]]) test_true([[Pike.count_memory (-1, Int.NATIVE_MAX << 100) > Pike.count_memory (-1, Int.NATIVE_MAX + 1)]]) ]]) test_do([[add_constant("count_memory_stats")]])
+
test_program([[
+
function ff()
+
{
+
array x;
+
array b() {return x;};
+
x = ({b});
+
return b;
+
}
+
+
int a()
+
{
+
function f = ff();
+
int s = Pike.count_memory (0, f());
+
f = 0;
+
gc();
+
return s > 0;
+
}
+
]])
+
// Numerical limits. test_true([[Int.NATIVE_MIN <= -2147483648]]) test_true([[Int.NATIVE_MAX >= 2147483647]]) test_true([[Float.DIGITS_10 >= 6]]) test_true([[Float.MIN_10_EXP <= -37]]) test_true([[Float.MAX_10_EXP >= 37]]) test_true([[Float.MIN <= 1e-37]]) test_true([[Float.MAX >= 1e37]]) test_true([[Float.EPSILON <= 1e-5]]) test_true([[1 <= 1.0]])