pike.git/
src/
testsuite.in
Branch:
Tag:
Non-build tags
All tags
No tags
2003-01-20
2003-01-20 14:14:33 by Marcus Comstedt <marcus@mc.pp.se>
281d4a4b6f86314136db4c654642548122d0a80b (
12
lines) (+
8
/-
4
)
[
Show
|
Annotate
]
Branch:
7.9
Only test all_threads() if we have threads.
Rev: src/testsuite.in:1.591
1:
-
test_true([["$Id: testsuite.in,v 1.
590
2003/01/
16
16
:
38
:
37
nilsson
Exp $"]]);
+
test_true([["$Id: testsuite.in,v 1.
591
2003/01/
20
14
:
14
:
33
marcus
Exp $"]]);
// This triggered a bug only if run sufficiently early. test_compile_any([[#pike 7.2]])
7881:
test_eq(all_constants()["all_constants"],all_constants) // - all_threads
+
cond([[all_constants()->thread_create]],
+
[[
test_true(arrayp(all_threads())) test_true(sizeof(all_threads())) test_true(objectp(all_threads()[0]))
-
+
]])
// - allocate test_equal(allocate(0),({}))