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 \
30 test-helper.c test-helper.h
32 check_PROGRAMS = check-main $(TEST_PROGS)
35 check_main_SOURCES = \
40 check-empathy-helpers.h \
41 check-empathy-helpers.c \
44 check-empathy-irc-server.c \
45 check-empathy-irc-network.c \
46 check-empathy-irc-network-manager.c \
47 check-empathy-chatroom.c \
48 check-empathy-chatroom-manager.c
52 include $(top_srcdir)/tools/check-coding-style.mk
53 check-local: test check-coding-style
57 $(top_builddir)/libempathy-gtk/libempathy-gtk.la \
58 $(top_builddir)/libempathy/libempathy.la \
65 TESTS_ENVIRONMENT = EMPATHY_SRCDIR=@abs_top_srcdir@ \
66 MC_PROFILE_DIR=@abs_top_srcdir@/tests \
67 MC_MANAGER_DIR=@abs_top_srcdir@/tests
69 test-report: test-report.xml
70 gtester-report $(top_builddir)/tests/$@.xml > \
71 $(top_builddir)/tests/$@.html
73 test-report.xml: ${TEST_PROGS} test
76 gtester -o test-report.xml -k --verbose ${TEST_PROGS}
78 test-%: empathy-%-test
79 gtester -o $@-report.xml -k --verbose $<
81 .PHONY: test test-report