Branch: Tag:

2011-04-02

2011-04-02 15:12:10 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Testsuite: Fix previous commit for the --without-threads case.

Note that only one COND statement can be active at a time in the
testsuite, and that cond{,_begin,_end} thus don't nest.

5056:   dnl this will crash pike on out-of-address-space-related errors   dnl test_any([[ catch { allocate(10000,thread_create)(lambda() { sleep(1); })->wait(); } ]])    + cond_end // thread_create   cond(0, [[    test_any([[    // Test that a loop relinquishes the interpreter lock every now and then.
5085:    return fail ? -1 : count > 0;    ]], 1)   ]]) + cond_begin([[all_constants()->thread_create]])       // _disable_threads    test_any([[