diff options
| author | Junio C Hamano <gitster@pobox.com> | 2019-02-08 20:44:51 -0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2019-02-08 20:44:51 -0800 |
| commit | 5a5f40881d6dcebec36190115779eeb4ae89b6c9 (patch) | |
| tree | 43705f728e84011203833ff26351233c9905e305 | |
| parent | Merge branch 'tz/gpg-test-fix' (diff) | |
| parent | Makefile: add coverage-prove target (diff) | |
| download | git-5a5f40881d6dcebec36190115779eeb4ae89b6c9.tar.gz git-5a5f40881d6dcebec36190115779eeb4ae89b6c9.zip | |
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
| -rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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; \ |
