X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=test%2FMakefile.am;h=65628368227066222b7677e76004c9db7d293d8b;hp=f2f41761b58c40ceddfe0161e72d36930ee2cb1b;hb=e25ee629c6dfa47c13121cc70b2da1b2dd21036c;hpb=9d51bd9c70df1ea91a1051b1005e59fe220fd375 diff --git a/test/Makefile.am b/test/Makefile.am index f2f4176..6562836 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -11,6 +11,11 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +if ENABLE_TEST_VALGRIND +LOG_COMPILER = valgrind +AM_LOG_FLAGS = --leak-check=full --error-exitcode=1 +export LOG_COMPILER AM_LOG_FLAGS +endif SUBDIRS = lib parser urls