aboutsummaryrefslogtreecommitdiff
path: root/tools/test
diff options
context:
space:
mode:
Diffstat (limited to 'tools/test')
-rw-r--r--tools/test/bsnmp/Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/tools/test/bsnmp/Makefile b/tools/test/bsnmp/Makefile
new file mode 100644
index 000000000000..52f67be70164
--- /dev/null
+++ b/tools/test/bsnmp/Makefile
@@ -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