eds: fix Android favourite handling when creating contact
[platform/upstream/folks.git] / valgrind.mk
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)
4 TESTS_ENVIRONMENT := \
5         G_DEBUG=$(G_DEBUG),gc-friendly \
6         G_SLICE=$(G_SLICE),always-malloc \
7         $(TESTS_ENVIRONMENT) \
8         $(LIBTOOL) --mode=execute valgrind \
9                 --leak-check=full \
10                 --show-reachable=no \
11                 --gen-suppressions=all \
12                 --num-callers=20 \
13                 --error-exitcode=0 \
14                 --log-file=valgrind.log.%p
15 endif