Dan Weber wrote:
This is already a problem with dbmail, before you introduce threads, thus
the reason why I haven't release my pthreads patch.  Dbmail code base is so
ridiculous to debug that it should be addressed before threads.  DBMail
needs to be much simplified with a lot of cleanups.

Agreed. And that's what I'm working on already. However, doing so would be a lot easier if we implement some kind of test-frame.

I've been trying to get autotools to build binaries in a test/ directory where I want to build tiny binaries that will test one specific function or group of functions.

However I don't know enough about automake to get this to work.

basically what I want is code in

test/testSomefunc.c

which includes the necessary headers from the root of the tree, and build

test/testSomefunc

which will either fail or succeed on execution.

But autoreconf complains about not supporting binaries in subdirs. Could anyone help me out in fixing Makefile.am to allow this.


--
  ________________________________________________________________
  Paul Stevens                                         [EMAIL PROTECTED]
  NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
  The Netherlands_______________________________________www.nfg.nl

Reply via email to