Author: ngie
Date: Tue May  9 04:59:05 2017
New Revision: 318008
URL: https://svnweb.freebsd.org/changeset/base/318008

Log:
  Only compile tests/ if MK_TESTS != no or ALL_MODULES is defined
  
  MFC after:    3 weeks
  Sponsored by: Dell EMC Isilon

Modified:
  head/sys/modules/Makefile

Modified: head/sys/modules/Makefile
==============================================================================
--- head/sys/modules/Makefile   Tue May  9 04:56:14 2017        (r318007)
+++ head/sys/modules/Makefile   Tue May  9 04:59:05 2017        (r318008)
@@ -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
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to