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
23 testhashmultimap.vala \
24 testhashmultiset.vala \
27 testlinkedlistasdeque.vala \
33 testpriorityqueue.vala \
35 testreadonlycollection.vala \
36 testreadonlylist.vala \
42 tests_SOURCES = tests.vala.stamp $(tests_VALASOURCES:.vala=.c)
43 tests.vala.stamp: $(tests_VALASOURCES)
44 $(VALAC) -C --basedir $(top_srcdir) --vapidir $(top_srcdir)/gee --pkg gee-1.0 $^
46 tests_LDADD = $(progs_ldadd)
47 EXTRA_DIST += $(tests_VALASOURCES)
50 lcov --base-directory=@top_srcdir@ --directory @top_srcdir@/gee --zerocounters
53 lcov --directory @top_srcdir@/gee \
55 --output-file @top_builddir@/lcov.info
57 lcov --directory @top_srcdir@/gee \
58 --output-file @top_builddir@/lcov.info \
59 --remove @top_builddir@/lcov.info \
62 $(mkdir_p) @top_builddir@/tests/coverage
63 git_commit=`GIT_DIR=@top_srcdir@/.git git log -1 --pretty=format:%h 2>/dev/null`;\
64 genhtml --title "@PACKAGE_STRING@ $$git_commit" \
65 --output-directory @top_builddir@/tests/coverage @top_builddir@/lcov.info
67 @echo 'lcov report can be found in:'
68 @echo 'file://@abs_top_builddir@/tests/coverage/index.html'
74 .PHONY: coverage-report