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 \
33 empathy_utils_test_SOURCES = empathy-utils-test.c \
34 test-helper.c test-helper.h
36 empathy_irc_server_test_SOURCES = empathy-irc-server-test.c \
37 test-helper.c test-helper.h \
38 test-irc-helper.h test-irc-helper.c
40 empathy_irc_network_test_SOURCES = empathy-irc-network-test.c \
41 test-helper.c test-helper.h \
42 test-irc-helper.h test-irc-helper.c
44 empathy_irc_network_manager_test_SOURCES = empathy-irc-network-manager-test.c \
45 test-helper.c test-helper.h \
46 test-irc-helper.h test-irc-helper.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 empathy_parser_test_SOURCES = empathy-parser-test.c \
55 test-helper.c test-helper.h
57 check_PROGRAMS = $(TEST_PROGS)
59 TESTS_ENVIRONMENT = EMPATHY_SRCDIR=@abs_top_srcdir@ \
60 MC_PROFILE_DIR=@abs_top_srcdir@/tests \
61 MC_MANAGER_DIR=@abs_top_srcdir@/tests
63 test-report: test-report.xml
64 gtester-report $(top_builddir)/tests/$@.xml > \
65 $(top_builddir)/tests/$@.html
67 test-report.xml: ${TEST_PROGS} test
70 gtester -o test-report.xml -k --verbose ${TEST_PROGS}
72 test-%: empathy-%-test
73 gtester -o $@-report.xml -k --verbose $<
75 .PHONY: test test-report