aboutsummaryrefslogtreecommitdiff
path: root/cddl/usr.sbin/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'cddl/usr.sbin/Makefile')
-rw-r--r--cddl/usr.sbin/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/cddl/usr.sbin/Makefile b/cddl/usr.sbin/Makefile
index fb2c43738b5c..8551c28a1a0b 100644
--- a/cddl/usr.sbin/Makefile
+++ b/cddl/usr.sbin/Makefile
@@ -5,9 +5,14 @@
SUBDIR= ${_dtrace} \
${_dtruss} \
${_lockstat} \
+ ${_tests} \
${_zdb} \
${_zhack}
+.if ${MK_TESTS} != "no"
+_tests= tests
+.endif
+
.if ${MK_ZFS} != "no"
.if ${MK_LIBTHR} != "no"
_zdb= zdb