1 SUBDIRS = interactive xml
5 SUPPRESSIONS=tp-glib.supp dlopen.supp
14 -DPKGDATADIR=\""$(pkgdatadir)"\" \
21 $(top_builddir)/libempathy-gtk/libempathy-gtk.la \
22 $(top_builddir)/libempathy/libempathy.la \
27 empathy-irc-server-test \
28 empathy-irc-network-test \
29 empathy-irc-network-manager-test \
30 empathy-chatroom-test \
31 empathy-chatroom-manager-test \
33 empathy-live-search-test
35 empathy_utils_test_SOURCES = empathy-utils-test.c \
36 test-helper.c test-helper.h
38 empathy_irc_server_test_SOURCES = empathy-irc-server-test.c \
39 test-helper.c test-helper.h \
40 test-irc-helper.h test-irc-helper.c
42 empathy_irc_network_test_SOURCES = empathy-irc-network-test.c \
43 test-helper.c test-helper.h \
44 test-irc-helper.h test-irc-helper.c
46 empathy_irc_network_manager_test_SOURCES = empathy-irc-network-manager-test.c \
47 test-helper.c test-helper.h \
48 test-irc-helper.h test-irc-helper.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 empathy_parser_test_SOURCES = empathy-parser-test.c \
57 test-helper.c test-helper.h
59 empathy_live_search_test_SOURCES = empathy-live-search-test.c \
60 test-helper.c test-helper.h
62 check_PROGRAMS = $(TEST_PROGS)
64 TESTS_ENVIRONMENT = EMPATHY_SRCDIR=@abs_top_srcdir@ \
65 MC_PROFILE_DIR=@abs_top_srcdir@/tests \
66 MC_MANAGER_DIR=@abs_top_srcdir@/tests
68 test-report: test-report.xml
69 gtester-report $(top_builddir)/tests/$@.xml > \
70 $(top_builddir)/tests/$@.html
72 test-report.xml: ${TEST_PROGS} test
75 gtester -o test-report.xml -k --verbose ${TEST_PROGS}
77 test-%: empathy-%-test
78 gtester -o $@-report.xml -k --verbose $<
80 .PHONY: test test-report