Code Review
/
src
/
app-framework-binder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
coverage and test: Add tests
[src/app-framework-binder.git]
/
coverage
/
Makefile
diff --git
a/coverage/Makefile
b/coverage/Makefile
index
219321c
..
30477a7
100644
(file)
--- a/
coverage/Makefile
+++ b/
coverage/Makefile
@@
-8,11
+8,14
@@
all: report
binaries:
make -C bin -w binaries
binaries:
make -C bin -w binaries
-.PHONY: clean
+.PHONY: clean
cleanall
clean:
make -C bin -w clean
clean:
make -C bin -w clean
- rm -rf lcov-out.info report
+
+cleanall: clean
+ @echo remove all outputs and reports
+ @rm -rf lcov-out.info report valgrind.out 2>/dev/null || true
.PHONY: test
.PHONY: test
@@
-20,14
+23,12
@@
test: binaries
@echo -----------------------------------------
@echo -- BEGIN TEST
@echo -----------------------------------------
@echo -----------------------------------------
@echo -- BEGIN TEST
@echo -----------------------------------------
- @scripts/run-test.sh
+ @scripts/run-test.sh
2>&1 | tee run-test.output
@echo -----------------------------------------
@echo -- END TEST
@echo -----------------------------------------
report: test
@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
@echo generating report
@genhtml -s -o report lcov-out.info
@echo ready: xdg-open report/index.html