From 4375e297b19bc2177e17cc5616e75d96be053328 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Wed, 26 Jan 2011 12:46:14 -0600 Subject: Add testing and start testing hash table functionality. --- Makefile.am | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index df12be0..d7e1bc2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,5 +1,5 @@ -SUBDIRS = module +SUBDIRS = module tests ACLOCAL_AMFLAGS = -I m4 @@ -16,3 +16,13 @@ dist-hook: else \ echo A git clone is required to generate a ChangeLog >&2; \ fi + +if WITH_COVERAGE +coverage: + mkdir -p tests/coverage + $(LCOV) --directory . --zerocounters + $(MAKE) check + $(LCOV) --directory . --capture --output-file tests/coverage.info + $(GENHTML) --output-directory tests/coverage tests/coverage.info + @echo "file://$(abs_top_builddir)/tests/coverage/index.html" +endif -- cgit v1.2.3