Only compile tests/ if MK_TESTS != no or ALL_MODULES is defined

MFC after:	3 weeks
Sponsored by:	Dell EMC Isilon
This commit is contained in:
Enji Cooper 2017-05-09 04:59:05 +00:00
parent bcf597c538
commit a3d929a712
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=318008

View File

@ -356,8 +356,6 @@ SUBDIR= \
sysvipc \
tcp \
${_ti} \
tests/framework \
tests/callout_test \
tl \
tmpfs \
${_toecore} \
@ -516,6 +514,10 @@ _rtwnfw= rtwnfw
_cxgbe= cxgbe
.endif
.if ${MK_TESTS} != "no" || defined(ALL_MODULES)
SUBDIR+= tests
.endif
.if ${MK_ZFS} != "no" || defined(ALL_MODULES)
SUBDIR+= zfs
.endif