make(1): make gcov command line configurable
Some useful options are -a or -f.
This commit is contained in:
parent
731db6505d
commit
fb967d0eb7
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.85 2020/08/10 18:20:28 rillig Exp $
|
||||
# $NetBSD: Makefile,v 1.86 2020/08/10 18:40:24 rillig Exp $
|
||||
# @(#)Makefile 5.2 (Berkeley) 12/28/90
|
||||
|
||||
PROG= make
|
||||
@ -132,7 +132,7 @@ test: .MAKE
|
||||
cd ${.CURDIR}/unit-tests \
|
||||
&& MAKEFLAGS= ${.MAKE} -r -m / TEST_MAKE=${TEST_MAKE:U${.OBJDIR}/${PROG:T}} ${.TARGET}
|
||||
.if ${USE_COVERAGE} == yes
|
||||
gcov ${SRCS}
|
||||
gcov ${GCOV_OPTS} ${SRCS}
|
||||
sed -i 's,^\([^:]*\): *[0-9]*:,\1: ,' *.gcov
|
||||
.endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user