[sword-devel] BUG: libSword hangs again

2002-07-30 Thread porton
Now libSword hangs on the following test: #include #include void main(int argc, char **argv) { RawLD::createModule("tmp/lextest"); RawLD lex("tmp/lextest"); lex.SetKey("a"); lex << "x"; lex.SetKey("a"); lex.deleteEntry(); lex.S

Re: [sword-devel] BUG: libSword hangs again

2002-07-31 Thread Troy A. Griffitts
ok, this should be fixed. [EMAIL PROTECTED] wrote: > Now libSword hangs on the following test: > > #include > #include > > void main(int argc, char **argv) > { > RawLD::createModule("tmp/lextest"); > RawLD lex("tmp/lextest"); > > lex.SetKey("a"); > lex << "x"; > >

Re: [sword-devel] BUG: libSword hangs again

2002-07-31 Thread Bobby Nations
Troy, These small programs would be great candidates for unit tests for each of these bugs. I've used CppUnit before and could start setting them up if you'd like. That way, we could begin accumulating a suite of test cases that could be the basis for future regression test checkpoints. Che

Re: [sword-devel] BUG: libSword hangs again

2002-07-31 Thread Troy A. Griffitts
Bobby, Not sure what CppUnit would give us. I'm sure it has benefits, I just don't know what they are. We have a tests directory. I would LOVE to be able to standardize them all to exit with an error code if they fail, and to write a script that cycles thru them all and runs them.

Re: [sword-devel] BUG: libSword hangs again

2002-08-02 Thread Bobby Nations
Troy A. Griffitts wrote: > Bobby, > Not sure what CppUnit would give us. I'm sure it has benefits, I > just don't know what they are. We have a tests directory. I would LOVE > to be able to standardize them all to exit with an error code if they > fail, and to write a script that cycles