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 noinst_PROGRAMS = $(tests_list)
40 empathy_tls_test_SOURCES = empathy-tls-test.c \
41 test-helper.c test-helper.h
43 empathy_irc_server_test_SOURCES = empathy-irc-server-test.c \
44 test-helper.c test-helper.h \
45 test-irc-helper.h test-irc-helper.c
47 empathy_irc_network_test_SOURCES = empathy-irc-network-test.c \
48 test-helper.c test-helper.h \
49 test-irc-helper.h test-irc-helper.c
51 empathy_irc_network_manager_test_SOURCES = empathy-irc-network-manager-test.c \
52 test-helper.c test-helper.h \
53 test-irc-helper.h test-irc-helper.c
55 empathy_chatroom_test_SOURCES = empathy-chatroom-test.c \
56 test-helper.c test-helper.h
58 empathy_chatroom_manager_test_SOURCES = empathy-chatroom-manager-test.c \
59 test-helper.c test-helper.h
61 empathy_parser_test_SOURCES = empathy-parser-test.c \
62 test-helper.c test-helper.h
64 empathy_live_search_test_SOURCES = empathy-live-search-test.c \
65 test-helper.c test-helper.h
67 TESTS_ENVIRONMENT = EMPATHY_SRCDIR=@abs_top_srcdir@ \
68 MC_PROFILE_DIR=@abs_top_srcdir@/tests \
69 MC_MANAGER_DIR=@abs_top_srcdir@/tests
71 test-report: test-report.xml
72 gtester-report $(top_builddir)/tests/$@.xml > \
73 $(top_builddir)/tests/$@.html
75 test-report.xml: ${TESTS} test
78 gtester -o test-report.xml -k --verbose ${TESTS}
80 test-%: empathy-%-test
81 gtester -o $@-report.xml -k --verbose $<
83 .PHONY: test test-report