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
30 empathy_utils_test_SOURCES = empathy-utils-test.c \
31 test-helper.c test-helper.h
33 empathy_irc_server_test_SOURCES = empathy-irc-server-test.c \
34 test-helper.c test-helper.h \
35 check-irc-helper.h check-irc-helper.c
37 check_PROGRAMS = check-main $(TEST_PROGS)
40 check_main_SOURCES = \
45 check-empathy-helpers.h \
46 check-empathy-helpers.c \
49 check-empathy-irc-network.c \
50 check-empathy-irc-network-manager.c \
51 check-empathy-chatroom.c \
52 check-empathy-chatroom-manager.c
56 include $(top_srcdir)/tools/check-coding-style.mk
57 check-local: test check-coding-style
61 $(top_builddir)/libempathy-gtk/libempathy-gtk.la \
62 $(top_builddir)/libempathy/libempathy.la \
69 TESTS_ENVIRONMENT = EMPATHY_SRCDIR=@abs_top_srcdir@ \
70 MC_PROFILE_DIR=@abs_top_srcdir@/tests \
71 MC_MANAGER_DIR=@abs_top_srcdir@/tests
73 test-report: test-report.xml
74 gtester-report $(top_builddir)/tests/$@.xml > \
75 $(top_builddir)/tests/$@.html
77 test-report.xml: ${TEST_PROGS} test
80 gtester -o test-report.xml -k --verbose ${TEST_PROGS}
82 test-%: empathy-%-test
83 gtester -o $@-report.xml -k --verbose $<
85 .PHONY: test test-report