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
32 empathy_utils_test_SOURCES = empathy-utils-test.c \
33 test-helper.c test-helper.h
35 empathy_irc_server_test_SOURCES = empathy-irc-server-test.c \
36 test-helper.c test-helper.h \
37 check-irc-helper.h check-irc-helper.c
39 empathy_irc_network_test_SOURCES = empathy-irc-network-test.c \
40 test-helper.c test-helper.h \
41 check-irc-helper.h check-irc-helper.c
43 empathy_irc_network_manager_test_SOURCES = empathy-irc-network-manager-test.c \
44 test-helper.c test-helper.h \
45 check-irc-helper.h check-irc-helper.c \
46 check-empathy-helpers.h check-empathy-helpers.c
48 check_PROGRAMS = check-main $(TEST_PROGS)
51 check_main_SOURCES = \
56 check-empathy-helpers.h \
57 check-empathy-helpers.c \
60 check-empathy-chatroom.c \
61 check-empathy-chatroom-manager.c
65 include $(top_srcdir)/tools/check-coding-style.mk
66 check-local: test check-coding-style
70 $(top_builddir)/libempathy-gtk/libempathy-gtk.la \
71 $(top_builddir)/libempathy/libempathy.la \
78 TESTS_ENVIRONMENT = EMPATHY_SRCDIR=@abs_top_srcdir@ \
79 MC_PROFILE_DIR=@abs_top_srcdir@/tests \
80 MC_MANAGER_DIR=@abs_top_srcdir@/tests
82 test-report: test-report.xml
83 gtester-report $(top_builddir)/tests/$@.xml > \
84 $(top_builddir)/tests/$@.html
86 test-report.xml: ${TEST_PROGS} test
89 gtester -o test-report.xml -k --verbose ${TEST_PROGS}
91 test-%: empathy-%-test
92 gtester -o $@-report.xml -k --verbose $<
94 .PHONY: test test-report