219321c7cef9d10f54e206c5601d0ff9d9171d74
[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
12
13 clean:
14         make -C bin -w clean
15         rm -rf lcov-out.info report
16
17 .PHONY: test
18
19 test: binaries
20         @echo -----------------------------------------
21         @echo -- BEGIN TEST
22         @echo -----------------------------------------
23         @scripts/run-test.sh
24         @echo -----------------------------------------
25         @echo -- END TEST
26         @echo -----------------------------------------
27
28 report: test
29         @echo generating LCOV report
30         @lcov -c -d bin -o lcov-out.info
31         @echo generating report
32         @genhtml -s -o report lcov-out.info
33         @echo ready: xdg-open report/index.html