summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>2018-10-26 09:35:43 -0700
committerJens Axboe <axboe@kernel.dk>2018-10-26 10:24:23 -0600
commitcdcd7e998f7b11371b73f646a750efc4e6eb378c (patch)
tree145085bb07b9639b3e7948112024f3d7a416379c /Makefile
parentce87503183fc2ecb71b105a56daf49ddc897b9f9 (diff)
unittests: add unittest suite for oslib/strlcat.c
Add test cases for oslib/strlcat.c as an example of unittest. Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index abcfe4d..dd02612 100644
--- a/Makefile
+++ b/Makefile
@@ -304,8 +304,10 @@ ifdef CONFIG_HAVE_CUNIT
UT_OBJS = unittests/unittest.o
UT_OBJS += unittests/lib/memalign.o
UT_OBJS += unittests/lib/strntol.o
+UT_OBJS += unittests/oslib/strlcat.o
UT_TARGET_OBJS = lib/memalign.o
UT_TARGET_OBJS += lib/strntol.o
+UT_TARGET_OBJS += oslib/strlcat.o
UT_PROGS = unittests/unittest
else
UT_OBJS =