diff options
Diffstat (limited to 'cddl/sbin')
-rw-r--r-- | cddl/sbin/Makefile | 6 | ||||
-rw-r--r-- | cddl/sbin/tests/Makefile | 10 |
2 files changed, 15 insertions, 1 deletions
diff --git a/cddl/sbin/Makefile b/cddl/sbin/Makefile index f74307c..4fd96f6 100644 --- a/cddl/sbin/Makefile +++ b/cddl/sbin/Makefile @@ -2,7 +2,11 @@ .include <bsd.own.mk> -SUBDIR= ${_zfs} ${_zpool} +SUBDIR= ${_tests} ${_zfs} ${_zpool} + +.if ${MK_TESTS} != "no" +_tests= tests +.endif .if ${MK_ZFS} != "no" _zfs= zfs diff --git a/cddl/sbin/tests/Makefile b/cddl/sbin/tests/Makefile new file mode 100644 index 0000000..91bbaee --- /dev/null +++ b/cddl/sbin/tests/Makefile @@ -0,0 +1,10 @@ +# $FreeBSD$ + +.include <bsd.own.mk> + +TESTSDIR= ${TESTSBASE}/cddl/sbin + +.PATH: ${.CURDIR:H:H:H}/tests +KYUAFILE= yes + +.include <bsd.test.mk> |