summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e8b55f5)
raw | patch | inline | side by side (parent: e8b55f5)
author | Thomas Rast <trast@student.ethz.ch> | |
Mon, 26 Jul 2010 07:43:41 +0000 (09:43 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 18 Aug 2010 19:42:37 +0000 (12:42 -0700) |
If you customize CC to use a different version of gcc, most likely you
also need to use a different version of gcov. Make it configurable.
Signed-off-by: Thomas Rast <trast@student.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
also need to use a different version of gcov. Make it configurable.
Signed-off-by: Thomas Rast <trast@student.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile | patch | blob | history |
diff --git a/Makefile b/Makefile
index c83fc29993f4cd9ea7b846449148266e65110333..194c26fc5ed09af7f8cf2bc0a2b6a2b959d299e2 100644 (file)
--- a/Makefile
+++ b/Makefile
TCLTK_PATH = wish
PTHREAD_LIBS = -lpthread
PTHREAD_CFLAGS =
+GCOV = gcov
export TCL_PATH TCLTK_PATH
coverage-report:
$(QUIET_GCOV)for dir in $(object_dirs); do \
- gcov $(GCOVFLAGS) --object-directory=$$dir $$dir*.c || exit; \
+ $(GCOV) $(GCOVFLAGS) --object-directory=$$dir $$dir*.c || exit; \
done
coverage-untested-functions: coverage-report