1 SUBDIRS = interactive xml
5 include $(top_srcdir)/rules/check.mak
7 SUPPRESSIONS=valgrind.supp dlopen.supp
16 -DPKGDATADIR=\""$(pkgdatadir)"\" \
22 $(top_builddir)/libempathy-gtk/libempathy-gtk.la \
23 $(top_builddir)/libempathy/libempathy.la \
28 empathy-irc-server-test \
29 empathy-irc-network-test
31 empathy_utils_test_SOURCES = empathy-utils-test.c \
32 test-helper.c test-helper.h
34 empathy_irc_server_test_SOURCES = empathy-irc-server-test.c \
35 test-helper.c test-helper.h \
36 check-irc-helper.h check-irc-helper.c
38 empathy_irc_network_test_SOURCES = empathy-irc-network-test.c \
39 test-helper.c test-helper.h \
40 check-irc-helper.h check-irc-helper.c
42 check_PROGRAMS = check-main $(TEST_PROGS)
45 check_main_SOURCES = \
50 check-empathy-helpers.h \
51 check-empathy-helpers.c \
54 check-empathy-irc-network-manager.c \
55 check-empathy-chatroom.c \
56 check-empathy-chatroom-manager.c
60 include $(top_srcdir)/tools/check-coding-style.mk
61 check-local: test check-coding-style
65 $(top_builddir)/libempathy-gtk/libempathy-gtk.la \
66 $(top_builddir)/libempathy/libempathy.la \
73 TESTS_ENVIRONMENT = EMPATHY_SRCDIR=@abs_top_srcdir@ \
74 MC_PROFILE_DIR=@abs_top_srcdir@/tests \
75 MC_MANAGER_DIR=@abs_top_srcdir@/tests
77 test-report: test-report.xml
78 gtester-report $(top_builddir)/tests/$@.xml > \
79 $(top_builddir)/tests/$@.html
81 test-report.xml: ${TEST_PROGS} test
84 gtester -o test-report.xml -k --verbose ${TEST_PROGS}
86 test-%: empathy-%-test
87 gtester -o $@-report.xml -k --verbose $<
89 .PHONY: test test-report