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 \
29 empathy_utils_test_SOURCES = empathy-utils-test.c
31 check_PROGRAMS = check-main $(TEST_PROGS)
34 check_main_SOURCES = \
39 check-empathy-helpers.h \
40 check-empathy-helpers.c \
43 check-empathy-irc-server.c \
44 check-empathy-irc-network.c \
45 check-empathy-irc-network-manager.c \
46 check-empathy-chatroom.c \
47 check-empathy-chatroom-manager.c
51 include $(top_srcdir)/tools/check-coding-style.mk
52 check-local: test check-coding-style
56 $(top_builddir)/libempathy-gtk/libempathy-gtk.la \
57 $(top_builddir)/libempathy/libempathy.la \
64 TESTS_ENVIRONMENT = EMPATHY_SRCDIR=@abs_top_srcdir@ \
65 MC_PROFILE_DIR=@abs_top_srcdir@/tests \
66 MC_MANAGER_DIR=@abs_top_srcdir@/tests
68 test-report: test-report.xml
69 gtester-report $(top_builddir)/tests/$@.xml > \
70 $(top_builddir)/tests/$@.html
72 test-report.xml: ${TEST_PROGS} test
75 gtester -o test-report.xml -k --verbose ${TEST_PROGS}
77 test-%: empathy-%-test
78 gtester -o $@-report.xml -k --verbose $<
80 .PHONY: test test-report