summaryrefslogtreecommitdiff
path: root/tools/Makefile.am.test
diff options
context:
space:
mode:
Diffstat (limited to 'tools/Makefile.am.test')
-rw-r--r--tools/Makefile.am.test6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/Makefile.am.test b/tools/Makefile.am.test
index 5c5e8c7..77ca17e 100644
--- a/tools/Makefile.am.test
+++ b/tools/Makefile.am.test
@@ -8,6 +8,12 @@ test: Makefile.am.test $(TESTFILES)
test_clean:
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 *~