summaryrefslogtreecommitdiffstats
path: root/cddl/sbin/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'cddl/sbin/Makefile')
-rw-r--r--cddl/sbin/Makefile6
1 files changed, 5 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
OpenPOWER on IntegriCloud