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 \
31 empathy-chatroom-test \
32 empathy-chatroom-manager-test
34 empathy_utils_test_SOURCES = empathy-utils-test.c \
35 test-helper.c test-helper.h
37 empathy_irc_server_test_SOURCES = empathy-irc-server-test.c \
38 test-helper.c test-helper.h \
39 check-irc-helper.h check-irc-helper.c
41 empathy_irc_network_test_SOURCES = empathy-irc-network-test.c \
42 test-helper.c test-helper.h \
43 check-irc-helper.h check-irc-helper.c
45 empathy_irc_network_manager_test_SOURCES = empathy-irc-network-manager-test.c \
46 test-helper.c test-helper.h \
47 check-irc-helper.h check-irc-helper.c \
48 check-empathy-helpers.h check-empathy-helpers.c
50 empathy_chatroom_test_SOURCES = empathy-chatroom-test.c \
51 test-helper.c test-helper.h
53 empathy_chatroom_manager_test_SOURCES = empathy-chatroom-manager-test.c \
54 test-helper.c test-helper.h
56 check_PROGRAMS = check-main $(TEST_PROGS)
59 check_main_SOURCES = \
64 check-empathy-helpers.h \
65 check-empathy-helpers.c \
71 include $(top_srcdir)/tools/check-coding-style.mk
72 check-local: test check-coding-style
76 $(top_builddir)/libempathy-gtk/libempathy-gtk.la \
77 $(top_builddir)/libempathy/libempathy.la \
84 TESTS_ENVIRONMENT = EMPATHY_SRCDIR=@abs_top_srcdir@ \
85 MC_PROFILE_DIR=@abs_top_srcdir@/tests \
86 MC_MANAGER_DIR=@abs_top_srcdir@/tests
88 test-report: test-report.xml
89 gtester-report $(top_builddir)/tests/$@.xml > \
90 $(top_builddir)/tests/$@.html
92 test-report.xml: ${TEST_PROGS} test
95 gtester -o test-report.xml -k --verbose ${TEST_PROGS}
97 test-%: empathy-%-test
98 gtester -o $@-report.xml -k --verbose $<
100 .PHONY: test test-report