mirror of
https://git.FreeBSD.org/src.git
synced 2024-10-19 02:29:40 +00:00
Add a makefile to build and run the tests for the bsnmp library.
This is not automatically built or run but must explicitly be built with 'make' and run with 'make run'.
This commit is contained in:
parent
51ae128421
commit
a82d25d731
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=359514
19
tools/test/bsnmp/Makefile
Normal file
19
tools/test/bsnmp/Makefile
Normal file
@ -0,0 +1,19 @@
|
||||
# $FreeBSD$
|
||||
|
||||
CONTRIB=${SRCTOP}/contrib/bsnmp
|
||||
.PATH: ${CONTRIB}/tests
|
||||
|
||||
PROG_CXX=ctest
|
||||
SRCS= main.cc asn1.cc snmp_parse_server.cc
|
||||
CFLAGS += -I/${CONTRIB}/lib
|
||||
CXXFLAGS+= -std=c++2a
|
||||
LIBADD= bsnmp
|
||||
|
||||
CFLAGS += -DBOGUS_CVE_2019_5610_FIX
|
||||
MK_MAN= no
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
||||
|
||||
run:
|
||||
${.OBJDIR}/ctest
|
Loading…
Reference in New Issue
Block a user