1 SUBDIRS = interactive xml
5 include $(top_srcdir)/rules/check.mak
7 SUPPRESSIONS=valgrind.supp dlopen.supp
16 -DPKGDATADIR=\""$(pkgdatadir)"\" \
22 $(top_builddir)/libempathy-gtk/libempathy-gtk.la \
23 $(top_builddir)/libempathy/libempathy.la \
28 empathy-irc-server-test \
29 empathy-irc-network-test \
30 empathy-irc-network-manager-test \
33 empathy_utils_test_SOURCES = empathy-utils-test.c \
34 test-helper.c test-helper.h
36 empathy_irc_server_test_SOURCES = empathy-irc-server-test.c \
37 test-helper.c test-helper.h \
38 check-irc-helper.h check-irc-helper.c
40 empathy_irc_network_test_SOURCES = empathy-irc-network-test.c \
41 test-helper.c test-helper.h \
42 check-irc-helper.h check-irc-helper.c
44 empathy_irc_network_manager_test_SOURCES = empathy-irc-network-manager-test.c \
45 test-helper.c test-helper.h \
46 check-irc-helper.h check-irc-helper.c \
47 check-empathy-helpers.h check-empathy-helpers.c
49 empathy_chatroom_test_SOURCES = empathy-chatroom-test.c \
50 test-helper.c test-helper.h
52 check_PROGRAMS = check-main $(TEST_PROGS)
55 check_main_SOURCES = \
60 check-empathy-helpers.h \
61 check-empathy-helpers.c \
64 check-empathy-chatroom-manager.c
68 include $(top_srcdir)/tools/check-coding-style.mk
69 check-local: test check-coding-style
73 $(top_builddir)/libempathy-gtk/libempathy-gtk.la \
74 $(top_builddir)/libempathy/libempathy.la \
81 TESTS_ENVIRONMENT = EMPATHY_SRCDIR=@abs_top_srcdir@ \
82 MC_PROFILE_DIR=@abs_top_srcdir@/tests \
83 MC_MANAGER_DIR=@abs_top_srcdir@/tests
85 test-report: test-report.xml
86 gtester-report $(top_builddir)/tests/$@.xml > \
87 $(top_builddir)/tests/$@.html
89 test-report.xml: ${TEST_PROGS} test
92 gtester -o test-report.xml -k --verbose ${TEST_PROGS}
94 test-%: empathy-%-test
95 gtester -o $@-report.xml -k --verbose $<
97 .PHONY: test test-report