Next: , Previous: , Up: Running self-tests under valgrind   [Contents][Index]


17.7.3 Using valgrind at the developer’s discretion

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.