aboutsummaryrefslogtreecommitdiff
path: root/lib/libsbuf/Makefile
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2017-04-06 05:29:28 +0000
committerEnji Cooper <ngie@FreeBSD.org>2017-04-06 05:29:28 +0000
commitb824378b14dc700ea6eb97ba7eec3c65222190ae (patch)
tree05ad49ca8994df0da1af65b6a8c28073e3dbe3c7 /lib/libsbuf/Makefile
parent128668745b3600292cf0b48d736b5e48cdfe33f9 (diff)
downloadsrc-b824378b14dc700ea6eb97ba7eec3c65222190ae.tar.gz
src-b824378b14dc700ea6eb97ba7eec3c65222190ae.zip
sbuf(3): add some basic functional tests for the library
Areas not covered still [positive functionality wise] are: - sbuf_{clear,get,set}_flags - sbuf_new (in particular, with fixed buffers, etc). Some basic negative testing has been added, but more will be added in the future. This work was in part to validate work done by cem in r288223, and ian before that. MFC after: 2 months Sponsored by: Dell EMC Isilon
Notes
Notes: svn path=/head/; revision=316557
Diffstat (limited to 'lib/libsbuf/Makefile')
-rw-r--r--lib/libsbuf/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libsbuf/Makefile b/lib/libsbuf/Makefile
index 3d8ea6f5ddaa..3e89f11c1b6c 100644
--- a/lib/libsbuf/Makefile
+++ b/lib/libsbuf/Makefile
@@ -10,6 +10,10 @@ SHLIB_MAJOR = 6
SYMBOL_MAPS= ${.CURDIR}/Symbol.map
VERSION_DEF= ${.CURDIR}/Version.def
+.include <src.opts.mk>
+
.PATH: ${SRCTOP}/sys/kern
+SUBDIR.${MK_TESTS}+= tests
+
.include <bsd.lib.mk>