1 # Pass FOLKS_TEST_VALGRIND=1 to make to enable Valgrind on the tests
2 # This file must be included _after_ TESTS_ENVIRONMENT has been set by the Makefile.am.
3 ifeq ($(FOLKS_TEST_VALGRIND),1)
5 G_DEBUG=$(G_DEBUG),gc-friendly \
6 G_SLICE=$(G_SLICE),always-malloc \
8 $(LIBTOOL) --mode=execute valgrind \
11 --gen-suppressions=all \
14 --log-file=valgrind.log.%p