coverage: Improve testing
[src/app-framework-binder.git] / coverage / Makefile
1
2 .PHONY: all 
3
4 all: report
5
6 .PHONY: binaries
7
8 binaries: 
9         make -C bin -w binaries
10
11 .PHONY: clean cleanall
12
13 clean:
14         make -C bin -w clean
15
16 cleanall: clean
17         rm -rf lcov-out.info report valgrind.out
18
19 .PHONY: test
20
21 test: binaries
22         @echo -----------------------------------------
23         @echo -- BEGIN TEST
24         @echo -----------------------------------------
25         @scripts/run-test.sh
26         @echo -----------------------------------------
27         @echo -- END TEST
28         @echo -----------------------------------------
29
30 report: test
31         @echo generating LCOV report
32         @lcov -c -d bin -o lcov-out.info
33         @echo generating report
34         @genhtml -s -o report lcov-out.info
35         @echo ready: xdg-open report/index.html