1 SUBDIRS = interactive xml
5 SUPPRESSIONS=tp-glib.supp dlopen.supp
14 -DPKGDATADIR=\""$(pkgdatadir)"\" \
20 $(top_builddir)/libempathy-gtk/libempathy-gtk.la \
21 $(top_builddir)/libempathy/libempathy.la \
26 empathy-irc-server-test \
27 empathy-irc-network-test \
28 empathy-irc-network-manager-test \
29 empathy-chatroom-test \
30 empathy-chatroom-manager-test \
32 empathy-live-search-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 test-irc-helper.h test-irc-helper.c
41 empathy_irc_network_test_SOURCES = empathy-irc-network-test.c \
42 test-helper.c test-helper.h \
43 test-irc-helper.h test-irc-helper.c
45 empathy_irc_network_manager_test_SOURCES = empathy-irc-network-manager-test.c \
46 test-helper.c test-helper.h \
47 test-irc-helper.h test-irc-helper.c
49 empathy_chatroom_test_SOURCES = empathy-chatroom-test.c \
50 test-helper.c test-helper.h
52 empathy_chatroom_manager_test_SOURCES = empathy-chatroom-manager-test.c \
53 test-helper.c test-helper.h
55 empathy_parser_test_SOURCES = empathy-parser-test.c \
56 test-helper.c test-helper.h
58 empathy_live_search_test_SOURCES = empathy-live-search-test.c \
59 test-helper.c test-helper.h
61 check_PROGRAMS = $(TEST_PROGS)
63 TESTS_ENVIRONMENT = EMPATHY_SRCDIR=@abs_top_srcdir@ \
64 MC_PROFILE_DIR=@abs_top_srcdir@/tests \
65 MC_MANAGER_DIR=@abs_top_srcdir@/tests
67 test-report: test-report.xml
68 gtester-report $(top_builddir)/tests/$@.xml > \
69 $(top_builddir)/tests/$@.html
71 test-report.xml: ${TEST_PROGS} test
74 gtester -o test-report.xml -k --verbose ${TEST_PROGS}
76 test-%: empathy-%-test
77 gtester -o $@-report.xml -k --verbose $<
79 .PHONY: test test-report