summaryrefslogtreecommitdiff
path: root/tools/Makefile.am.test
blob: cad26277665a8441c66d2c2771fd559627381ba3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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 *~