blob: 219321c7cef9d10f54e206c5601d0ff9d9171d74 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
.PHONY: all
all: report
.PHONY: binaries
binaries:
make -C bin -w binaries
.PHONY: clean
clean:
make -C bin -w clean
rm -rf lcov-out.info report
.PHONY: test
test: binaries
@echo -----------------------------------------
@echo -- BEGIN TEST
@echo -----------------------------------------
@scripts/run-test.sh
@echo -----------------------------------------
@echo -- END TEST
@echo -----------------------------------------
report: test
@echo generating LCOV report
@lcov -c -d bin -o lcov-out.info
@echo generating report
@genhtml -s -o report lcov-out.info
@echo ready: xdg-open report/index.html
|