X-Git-Url: https://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=test%2FMakefile.am;h=65628368227066222b7677e76004c9db7d293d8b;hp=a32f79f5396e42e131251854fadae695d92d2847;hb=d2b12ddb905a74fa6b2e454142b0b9f71fd99398;hpb=b211fabbff1c5af472ca07ee5dfdbbe11fc6898f diff --git a/test/Makefile.am b/test/Makefile.am index a32f79f..6562836 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -11,8 +11,13 @@ # 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 = list parser urls +SUBDIRS = lib parser urls noinst_SCRIPTS = hotplug-device.sh