1 include $(top_srcdir)/Makefile.decl
10 noinst_PROGRAMS = $(TEST_PROGS)
12 progs_ldadd = $(GLIB_LIBS) ../gee/libgee.la
14 BUILT_SOURCES = tests.vala.stamp
24 testhashmultimap.vala \
25 testhashmultiset.vala \
28 testlinkedlistasdeque.vala \
34 testpriorityqueue.vala \
36 testreadonlycollection.vala \
37 testreadonlylist.vala \
38 testreadonlymap.vala \
39 testreadonlyset.vala \
43 testtreemultimap.vala \
44 testtreemultiset.vala \
48 tests_DEPENDENCIES = $(top_srcdir)/gee/gee-1.0.vapi
50 tests_SOURCES = tests.vala.stamp $(tests_VALASOURCES:.vala=.c)
51 tests.vala.stamp: $(tests_VALASOURCES)
52 $(VALAC) -C --basedir $(top_srcdir) --vapidir $(top_srcdir)/gee --pkg gee-1.0 $^
54 tests_LDADD = $(progs_ldadd)
55 EXTRA_DIST += $(tests_VALASOURCES)
58 lcov --base-directory=@top_srcdir@ --directory @top_srcdir@/gee --zerocounters
61 lcov --directory @top_srcdir@/gee \
63 --output-file @top_builddir@/lcov.info
65 lcov --directory @top_srcdir@/gee \
66 --output-file @top_builddir@/lcov.info \
67 --remove @top_builddir@/lcov.info \
68 "/usr/include/*" "*.c" "*.h" "*.vapi"
70 $(mkdir_p) @top_builddir@/tests/coverage
71 git_commit=`GIT_DIR=@top_srcdir@/.git git log -1 --pretty=format:%h 2>/dev/null`;\
72 genhtml --title "@PACKAGE_STRING@ $$git_commit" \
73 --output-directory @top_builddir@/tests/coverage @top_builddir@/lcov.info
75 @echo 'lcov report can be found in:'
76 @echo 'file://@abs_top_builddir@/tests/coverage/index.html'
82 .PHONY: coverage-report