add --enable-coverage for lcov
This commit is contained in:
@@ -59,3 +59,8 @@ yubico-piv-tool.1: $(yubico_piv_tool_SOURCES) \
|
||||
--name="Yubico PIV tool" \
|
||||
--include=$(srcdir)/yubico-piv-tool.h2m \
|
||||
--output=$@ $(builddir)/yubico-piv-tool$(EXEEXT)
|
||||
|
||||
if ENABLE_COV
|
||||
AM_CFLAGS += --coverage
|
||||
AM_LDFLAGS = --coverage
|
||||
endif
|
||||
|
||||
@@ -38,3 +38,7 @@ parse_name_LDADD = ../libpiv_util.la $(OPENSSL_LIBS)
|
||||
|
||||
check_PROGRAMS = parse_name
|
||||
TESTS = basic.sh $(check_PROGRAMS)
|
||||
|
||||
if ENABLE_COV
|
||||
AM_LDFLAGS += --coverage
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user