Fedora 30 packaging fix issu
[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         @echo remove all outputs and reports
18         @rm -rf lcov-out.info report valgrind.out 2>/dev/null || true
19
20 .PHONY: test
21
22 test: binaries
23         @echo -----------------------------------------
24         @echo -- BEGIN TEST
25         @echo -----------------------------------------
26         @scripts/run-test.sh 2>&1 | tee run-test.output
27         @echo -----------------------------------------
28         @echo -- END TEST
29         @echo -----------------------------------------
30
31 report: test
32         @echo generating report
33         @genhtml -s -o report lcov-out.info
34         @echo ready: xdg-open report/index.html