]> git.ozlabs.org Git - petitboot/blobdiff - test/Makefile.am
test/parser: Add variable expansion in Ubuntu conf file test
[petitboot] / test / Makefile.am
index f2f41761b58c40ceddfe0161e72d36930ee2cb1b..65628368227066222b7677e76004c9db7d293d8b 100644 (file)
 #  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