summaryrefslogtreecommitdiff
path: root/server/tools/Makefile.am.test
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2011-11-17 14:38:54 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2011-11-17 14:38:54 +0100
commit64610c7453fc6bc0be7d3f9cb49058fb849be725 (patch)
tree0a905e2c3974825e687d12aed1b51900c0217de9 /server/tools/Makefile.am.test
parent5a7b924ba441ad0fef77d9c312c23f53cdba5fe8 (diff)
Move server-only tools to server tools folder.
Diffstat (limited to 'server/tools/Makefile.am.test')
-rw-r--r--server/tools/Makefile.am.test21
1 files changed, 21 insertions, 0 deletions
diff --git a/server/tools/Makefile.am.test b/server/tools/Makefile.am.test
new file mode 100644
index 0000000..cad2627
--- /dev/null
+++ b/server/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 *~
+