Tim Rühsen wrote:
> At GNU wget we have conditional cleanup functions. That is compilation
> with -DDEBUG_MALLOC in $CFLAGS will add those cleanup functions and they
> are called before wget exits. Handy for testing, but you have to build
> an extra executable.

How about using an environment variable instead? You would set it in the
Automake variable TESTS_ENVIRONMENT.

Then you would not need an extra executable, and the individual tests in
your testsuite do not need to me modified.

Bruno


Reply via email to