Branch: Tag:

2003-01-20

2003-01-20 14:14:33 by Marcus Comstedt <marcus@mc.pp.se>

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),({}))