From 93890eace0b7a35cb597272e7449b1e0ee533a73 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Fri, 17 Feb 2012 12:25:50 +0100 Subject: Add tool files. --- tools/Makefile.am.test | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 tools/Makefile.am.test (limited to 'tools/Makefile.am.test') diff --git a/tools/Makefile.am.test b/tools/Makefile.am.test new file mode 100644 index 0000000..cad2627 --- /dev/null +++ b/tools/Makefile.am.test @@ -0,0 +1,21 @@ +Makefile.am.test: ${TEST_SOURCE_DEPS} + ${TEST_SCRIPT_DIR}/testlist > Makefile.am.test + @touch Makefile.am + +test: Makefile.am.test $(TESTFILES) + @echo "All tests done." + +test_clean: + rm -Rf lgov + rm -f $(TESTFILES) $(TESTLOGS) + +test_report: + lcov --directory . --capture --output-file app.info + genhtml -o lcov app.info + +test_all: test_clean test test_report + +TESTLOGS = `for F in ${TESTFILES}; do echo $$F.log; done` + +CLEANFILES = $(TESTFILES) $(TESTLOGS) Makefile.am.test *~ + -- cgit v1.2.3