From: NHOrus Date: Sun, 2 Jul 2017 06:49:18 +0000 (+0300) Subject: Ability to use non-standard FreeBSD gcov tool X-Git-Tag: takebird~120 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=e65132a108abb07e6ae768c3fb61510a59f80a8c;p=open-adventure.git Ability to use non-standard FreeBSD gcov tool --- diff --git a/tests/Makefile b/tests/Makefile index be71aa2..130e44c 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -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 /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