1 SUBDIRS = interactive xml
5 SUPPRESSIONS=valgrind.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_utils_test_SOURCES = empathy-utils-test.c \
33 test-helper.c test-helper.h
35 empathy_irc_server_test_SOURCES = empathy-irc-server-test.c \
36 test-helper.c test-helper.h \
37 check-irc-helper.h check-irc-helper.c
39 empathy_irc_network_test_SOURCES = empathy-irc-network-test.c \
40 test-helper.c test-helper.h \
41 check-irc-helper.h check-irc-helper.c
43 empathy_irc_network_manager_test_SOURCES = empathy-irc-network-manager-test.c \
44 test-helper.c test-helper.h \
45 check-irc-helper.h check-irc-helper.c \
46 check-empathy-helpers.h check-empathy-helpers.c
48 empathy_chatroom_test_SOURCES = empathy-chatroom-test.c \
49 test-helper.c test-helper.h
51 empathy_chatroom_manager_test_SOURCES = empathy-chatroom-manager-test.c \
52 test-helper.c test-helper.h
54 check_PROGRAMS = $(TEST_PROGS)
56 TESTS_ENVIRONMENT = EMPATHY_SRCDIR=@abs_top_srcdir@ \
57 MC_PROFILE_DIR=@abs_top_srcdir@/tests \
58 MC_MANAGER_DIR=@abs_top_srcdir@/tests
60 test-report: test-report.xml
61 gtester-report $(top_builddir)/tests/$@.xml > \
62 $(top_builddir)/tests/$@.html
64 test-report.xml: ${TEST_PROGS} test
67 gtester -o test-report.xml -k --verbose ${TEST_PROGS}
69 test-%: empathy-%-test
70 gtester -o $@-report.xml -k --verbose $<
72 .PHONY: test test-report