blob: c97e5d1147c37898652b7fd5526ad27b5ebae32d (
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
SUBDIRS = twisted suppressions
tests_list = \
test-dtube-unique-names \
test-gabble-idle-weak \
test-handles \
test-jid-decode \
test-parse-message \
test-presence \
test-tp-error-from-wocky
gabble-C-tests.list:
$(AM_V_GEN)echo $(tests_list) > $@
if ENABLE_INSTALLED_TESTS
gabbletests_PROGRAMS = $(tests_list)
gabbletests_DATA = gabble-C-tests.list
else
noinst_PROGRAMS = $(tests_list)
endif
LDADD = $(top_builddir)/src/libgabble-convenience.la
AM_CFLAGS = $(ERROR_CFLAGS) @DBUS_CFLAGS@ @GLIB_CFLAGS@ @WOCKY_CFLAGS@ \
@TP_GLIB_CFLAGS@ \
-I $(top_srcdir) -I $(top_builddir) \
-I $(top_srcdir)/lib -I $(top_builddir)/lib
TESTS = $(tests_list)
TESTS_ENVIRONMENT = \
abs_top_builddir=@abs_top_builddir@ \
G_DEBUG=fatal-warnings,fatal-criticals \
sh $(top_srcdir)/tests/twisted/tools/with-session-bus.sh \
--config-file=$(top_builddir)/tests/twisted/tools/servicedir-uninstalled/tmp-session-bus.conf --
check-valgrind: $(TESTS)
G_SLICE=always-malloc \
G_DEBUG=gc-friendly \
$(MAKE) \
TESTS_ENVIRONMENT="$(TESTS_ENVIRONMENT) \
libtool --mode=execute valgrind \
--leak-check=full \
--show-reachable=no \
--gen-suppressions=all \
--num-callers=20 \
--suppressions=@abs_top_srcdir@/tests/suppressions/gabble.supp \
--suppressions=@abs_top_srcdir@/tests/suppressions/tp-glib.supp \
--error-exitcode=1" \
check-TESTS
check_c_sources = \
$(dbus_test_sources) \
test-dtube-unique-names.c \
test-presence.c \
test-jid-decode.c \
test-handles.c \
test-parse-message.c \
tp-error-from-wocky.c
test_tp_error_from_wocky_SOURCES = tp-error-from-wocky.c
include $(top_srcdir)/tools/check-coding-style.mk
check-local: check-coding-style
|