summaryrefslogtreecommitdiff
path: root/tests/Makefile.am
blob: b09c74f06b66af789b900dbceb052f5dda7fa2eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
if WANT_TWISTED_TESTS
CHECKTWISTED = twisted
endif
SUBDIRS = $(CHECKTWISTED)

# noinst_PROGRAMS = \
# 	tp_caller

# AM_CFLAGS = $(ERROR_CFLAGS) @DBUS_CFLAGS@ @GLIB_CFLAGS@ \
#    -I $(top_srcdir)/src -I $(top_builddir)/src
# ALL_LIBS = @DBUS_LIBS@ @GLIB_LIBS@

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

# check_c_sources = \
# 	tp_caller.c

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