Ability to use non-standard FreeBSD gcov tool
This commit is contained in:
parent
634cd0f17f
commit
e65132a108
1 changed files with 2 additions and 1 deletions
|
@ -4,6 +4,7 @@
|
|||
# scripts from parent directory. Note that using $PWD seems to fail
|
||||
# here under Gitlab's CI environment.
|
||||
PATH := $(realpath ..):$(realpath .):${PATH}
|
||||
GCOV?=gcov
|
||||
|
||||
# Defeat annoying behavior under Mac OS X - builtin echo doesn't do -n
|
||||
ECHO := /bin/echo
|
||||
|
@ -20,7 +21,7 @@ check: savecheck regress
|
|||
@-advent -l /dev/null <pitfall.log >/dev/null
|
||||
|
||||
coverage: check
|
||||
lcov -t "advent" -o ../advent.info -c -d ..
|
||||
lcov -t "advent" -o ../advent.info -c -d .. --gcov-tool=$(GCOV)
|
||||
genhtml -o ../coverage/ ../advent.info
|
||||
|
||||
.SUFFIXES: .chk
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue