Next: How to use Valgrind with shell scripts, Previous: Valgrind options, Up: Running self-tests under valgrind [Contents][Index]
In this approach, you define a Makefile.am
variable ‘VALGRIND’
(or, more abstractly, ‘CHECKER’), that is usually set to empty.
When you have configured and built the package and you decide that you want
to run the tests with valgrind, you do so by modifying the definition of
‘VALGRIND’ in the Makefile.