git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Makefile: add a prerequisite to the coverage-report target
@ 2022-04-08 10:54 Elia Pinto
  2022-04-08 20:10 ` Junio C Hamano
  0 siblings, 1 reply; 3+ messages in thread
From: Elia Pinto @ 2022-04-08 10:54 UTC (permalink / raw)
  To: git; +Cc: Elia Pinto

Directly invoking make coverage-report as a target results in an error because
its prerequisites are missing,

The patch adds the necessary prerequisite.

Signed-off-by: Elia Pinto <gitter.spiros@gmail.com>
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index e8aba291d7..d9e8dd331e 100644
--- a/Makefile
+++ b/Makefile
@@ -3409,7 +3409,7 @@ coverage-prove: coverage-clean-results coverage-compile
 		DEFAULT_TEST_TARGET=prove GIT_PROVE_OPTS="$(GIT_PROVE_OPTS) -j1" \
 		-j1 test
 
-coverage-report:
+coverage-report: coverage-test
 	$(QUIET_GCOV)for dir in $(object_dirs); do \
 		$(GCOV) $(GCOVFLAGS) --object-directory=$$dir $$dir*.c || exit; \
 	done
-- 
2.35.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-04-09  3:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-08 10:54 [PATCH] Makefile: add a prerequisite to the coverage-report target Elia Pinto
2022-04-08 20:10 ` Junio C Hamano
2022-04-09  3:51   ` [PATCH v2 1/1] " Elia Pinto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).