mirror of
https://github.com/git/git
synced 2024-08-27 19:49:21 +00:00
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)" \
|
$(MAKE) CFLAGS="$(COVERAGE_CFLAGS)" LDFLAGS="$(COVERAGE_LDFLAGS)" \
|
||||||
DEFAULT_TEST_TARGET=test -j1 test
|
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:
|
coverage-report:
|
||||||
$(QUIET_GCOV)for dir in $(object_dirs); do \
|
$(QUIET_GCOV)for dir in $(object_dirs); do \
|
||||||
$(GCOV) $(GCOVFLAGS) --object-directory=$$dir $$dir*.c || exit; \
|
$(GCOV) $(GCOVFLAGS) --object-directory=$$dir $$dir*.c || exit; \
|
||||||
|
|
Loading…
Reference in a new issue