Added explicit checks for dependencies of coverage raport generation
This commit is contained in:
parent
79d96aa935
commit
3b4c306199
2
Makefile
2
Makefile
@ -20,6 +20,8 @@ unit-tests: bin/unit-tests
|
|||||||
./$<
|
./$<
|
||||||
|
|
||||||
unit-test-coverage:
|
unit-test-coverage:
|
||||||
|
@which gcov >/dev/null || ( echo "[ERROR] gcov is required for test coverage report"; false )
|
||||||
|
@which gcovr >/dev/null || ( echo "[ERROR] gcovr is required for test coverage report"; false )
|
||||||
CXXFLAGS=--coverage $(MAKE) bin/unit-tests -B
|
CXXFLAGS=--coverage $(MAKE) bin/unit-tests -B
|
||||||
bin/unit-tests
|
bin/unit-tests
|
||||||
rm -rf coverage
|
rm -rf coverage
|
||||||
|
Loading…
Reference in New Issue
Block a user