Branch: Tag:

1997-02-27

1997-02-27 12:32:13 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

bugfix...

Rev: src/testsuite.in:1.27

1: - test_true([["$Id: testsuite.in,v 1.26 1997/02/27 12:18:34 hubbe Exp $"]]) + test_true([["$Id: testsuite.in,v 1.27 1997/02/27 12:32:13 hubbe Exp $"]])   teste_eval_error(mixed foo=({}); sort(@foo); )   test_compile_error([[int foo() { return 1} ; constant foo=(["foo":foo]); return foo->foo();]])   test_eval_error(mixed *foo=({}); return mkmapping(foo,({1})); )
138:    test_true(objectp(clone(Thread.Fifo)))    test_true(objectp(clone(Thread.Queue)))    -  test_any([[object o=Thread.Fifo(); thread_create(lambda(object f) { for(e=0;e<10000;e++) f->write(random(4711)); f->write(-1); },o); int tmp=0; while(o->read() != -1) tmp++; return tmp;]],10000) -  test_any([[object o=Thread.Queue(); thread_create(lambda(object f) { for(e=0;e<10000;e++) f->write(random(4711)); f->write(-1); },o); int tmp=0; while(o->read() != -1) tmp++; return tmp;]],10000) +  test_any([[object o=Thread.Fifo(); thread_create(lambda(object f) { for(int e=0;e<10000;e++) f->write(random(4711)); f->write(-1); },o); int tmp=0; while(o->read() != -1) tmp++; return tmp;]],10000) +  test_any([[object o=Thread.Queue(); thread_create(lambda(object f) { for(int e=0;e<10000;e++) f->write(random(4711)); f->write(-1); },o); int tmp=0; while(o->read() != -1) tmp++; return tmp;]],10000)   ]])