Merge branch 'ds/coverage-prove'
A new target "coverage-prove" to run the coverage test under "prove" has been added. * ds/coverage-prove: Makefile: add coverage-prove target
This commit is contained in:
commit
5a5f40881d
5
Makefile
5
Makefile
@ -3114,6 +3114,11 @@ coverage-test: coverage-clean-results coverage-compile
|
||||
$(MAKE) CFLAGS="$(COVERAGE_CFLAGS)" LDFLAGS="$(COVERAGE_LDFLAGS)" \
|
||||
DEFAULT_TEST_TARGET=test -j1 test
|
||||
|
||||
coverage-prove: coverage-clean-results coverage-compile
|
||||
$(MAKE) CFLAGS="$(COVERAGE_CFLAGS)" LDFLAGS="$(COVERAGE_LDFLAGS)" \
|
||||
DEFAULT_TEST_TARGET=prove GIT_PROVE_OPTS="$(GIT_PROVE_OPTS) -j1" \
|
||||
-j1 test
|
||||
|
||||
coverage-report:
|
||||
$(QUIET_GCOV)for dir in $(object_dirs); do \
|
||||
$(GCOV) $(GCOVFLAGS) --object-directory=$$dir $$dir*.c || exit; \
|
||||
|
Loading…
Reference in New Issue
Block a user