|
From: | Bruno Haible |
Subject: | Re: reclaiming memory before exit, take 2 |
Date: | Sat, 16 May 2020 18:47:20 +0200 |
User-agent: | KMail/5.1.3 (Linux/4.4.0-177-generic; KDE/5.18.0; x86_64; ; ) |
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
[Prev in Thread] | Current Thread | [Next in Thread] |