1 SUBDIRS = interactive xml
5 SUPPRESSIONS=tp-glib.supp dlopen.supp
14 -DPKGDATADIR=\""$(pkgdatadir)"\" \
15 -DGCR_API_SUBJECT_TO_CHANGE \
18 $(DISABLE_DEPRECATED) \
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-live-search-test \
37 empathy_tls_test_SOURCES = empathy-tls-test.c \
38 test-helper.c test-helper.h
40 empathy_irc_server_test_SOURCES = empathy-irc-server-test.c \
41 test-helper.c test-helper.h \
42 test-irc-helper.h test-irc-helper.c
44 empathy_irc_network_test_SOURCES = empathy-irc-network-test.c \
45 test-helper.c test-helper.h \
46 test-irc-helper.h test-irc-helper.c
48 empathy_irc_network_manager_test_SOURCES = empathy-irc-network-manager-test.c \
49 test-helper.c test-helper.h \
50 test-irc-helper.h test-irc-helper.c
52 empathy_chatroom_test_SOURCES = empathy-chatroom-test.c \
53 test-helper.c test-helper.h
55 empathy_chatroom_manager_test_SOURCES = empathy-chatroom-manager-test.c \
56 test-helper.c test-helper.h
58 empathy_parser_test_SOURCES = empathy-parser-test.c \
59 test-helper.c test-helper.h
61 empathy_live_search_test_SOURCES = empathy-live-search-test.c \
62 test-helper.c test-helper.h
64 check_PROGRAMS = $(TEST_PROGS)
66 TESTS_ENVIRONMENT = EMPATHY_SRCDIR=@abs_top_srcdir@ \
67 MC_PROFILE_DIR=@abs_top_srcdir@/tests \
68 MC_MANAGER_DIR=@abs_top_srcdir@/tests
70 test-report: test-report.xml
71 gtester-report $(top_builddir)/tests/$@.xml > \
72 $(top_builddir)/tests/$@.html
74 test-report.xml: ${TEST_PROGS} test
77 gtester -o test-report.xml -k --verbose ${TEST_PROGS}
79 test-%: empathy-%-test
80 gtester -o $@-report.xml -k --verbose $<
82 .PHONY: test test-report