summaryrefslogtreecommitdiff
path: root/tests/Makefile.am
blob: b453189bd508729b395adf8df782438a1a61c453 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
if WANT_TWISTED_TESTS
CHECKTWISTED = twisted
endif
SUBDIRS = $(CHECKTWISTED)

check-valgrind:
	G_SLICE=always-malloc \
	G_DEBUG=gc-friendly \
	$(MAKE) \
		TESTS_ENVIRONMENT="\
		libtool --mode=execute valgrind \
			--leak-check=full \
			--show-reachable=no \
			--error-exitcode=1" \
		check

include $(top_srcdir)/tools/check-coding-style.mk