Date: Wed, 2 Aug 2017 08:50:43 +0000 (UTC) From: Ngie Cooper <ngie@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r321914 - in projects/make-check-sandbox: bin/cat bin/date bin/dd bin/echo bin/expr bin/ln bin/ls bin/mv bin/pax bin/pkill bin/sleep bin/test lib/atf/libatf-c lib/atf/libatf-c++ lib/lib... Message-ID: <201708020850.v728ohbp023886@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ngie Date: Wed Aug 2 08:50:42 2017 New Revision: 321914 URL: https://svnweb.freebsd.org/changeset/base/321914 Log: Add HAS_TESTS to all Makefiles that are currently using the `SUBDIR.${MK_TESTS}+= tests` idiom. This is a follow up to r321912. Modified: projects/make-check-sandbox/bin/cat/Makefile projects/make-check-sandbox/bin/date/Makefile projects/make-check-sandbox/bin/dd/Makefile projects/make-check-sandbox/bin/echo/Makefile projects/make-check-sandbox/bin/expr/Makefile projects/make-check-sandbox/bin/ln/Makefile projects/make-check-sandbox/bin/ls/Makefile projects/make-check-sandbox/bin/mv/Makefile projects/make-check-sandbox/bin/pax/Makefile projects/make-check-sandbox/bin/pkill/Makefile projects/make-check-sandbox/bin/sleep/Makefile projects/make-check-sandbox/bin/test/Makefile projects/make-check-sandbox/lib/atf/libatf-c++/Makefile projects/make-check-sandbox/lib/atf/libatf-c/Makefile projects/make-check-sandbox/lib/libarchive/Makefile projects/make-check-sandbox/lib/libc/Makefile projects/make-check-sandbox/lib/libcasper/services/cap_dns/Makefile projects/make-check-sandbox/lib/libcasper/services/cap_grp/Makefile projects/make-check-sandbox/lib/libcasper/services/cap_pwd/Makefile projects/make-check-sandbox/lib/libcasper/services/cap_sysctl/Makefile projects/make-check-sandbox/lib/libcrypt/Makefile projects/make-check-sandbox/lib/libmp/Makefile projects/make-check-sandbox/lib/libnv/Makefile projects/make-check-sandbox/lib/libpathconv/Makefile projects/make-check-sandbox/lib/libproc/Makefile projects/make-check-sandbox/lib/librt/Makefile projects/make-check-sandbox/lib/libthr/Makefile projects/make-check-sandbox/lib/libutil/Makefile projects/make-check-sandbox/lib/libxo/Makefile projects/make-check-sandbox/lib/msun/Makefile projects/make-check-sandbox/libexec/atf/atf-check/Makefile projects/make-check-sandbox/libexec/atf/atf-sh/Makefile projects/make-check-sandbox/libexec/rtld-elf/Makefile projects/make-check-sandbox/sbin/devd/Makefile projects/make-check-sandbox/sbin/dhclient/Makefile projects/make-check-sandbox/sbin/growfs/Makefile projects/make-check-sandbox/sbin/ifconfig/Makefile projects/make-check-sandbox/sbin/mdconfig/Makefile projects/make-check-sandbox/sbin/pfctl/Makefile projects/make-check-sandbox/share/examples/Makefile projects/make-check-sandbox/share/zoneinfo/Makefile projects/make-check-sandbox/usr.bin/apply/Makefile projects/make-check-sandbox/usr.bin/basename/Makefile projects/make-check-sandbox/usr.bin/bsdcat/Makefile projects/make-check-sandbox/usr.bin/calendar/Makefile projects/make-check-sandbox/usr.bin/cmp/Makefile projects/make-check-sandbox/usr.bin/col/Makefile projects/make-check-sandbox/usr.bin/comm/Makefile projects/make-check-sandbox/usr.bin/compress/Makefile projects/make-check-sandbox/usr.bin/cpio/Makefile projects/make-check-sandbox/usr.bin/csplit/Makefile projects/make-check-sandbox/usr.bin/cut/Makefile projects/make-check-sandbox/usr.bin/diff/Makefile projects/make-check-sandbox/usr.bin/diff3/Makefile projects/make-check-sandbox/usr.bin/dirname/Makefile projects/make-check-sandbox/usr.bin/file2c/Makefile projects/make-check-sandbox/usr.bin/getconf/Makefile projects/make-check-sandbox/usr.bin/grep/Makefile projects/make-check-sandbox/usr.bin/gzip/Makefile projects/make-check-sandbox/usr.bin/hexdump/Makefile projects/make-check-sandbox/usr.bin/ident/Makefile projects/make-check-sandbox/usr.bin/indent/Makefile projects/make-check-sandbox/usr.bin/join/Makefile projects/make-check-sandbox/usr.bin/jot/Makefile projects/make-check-sandbox/usr.bin/lastcomm/Makefile projects/make-check-sandbox/usr.bin/limits/Makefile projects/make-check-sandbox/usr.bin/m4/Makefile projects/make-check-sandbox/usr.bin/mkimg/Makefile projects/make-check-sandbox/usr.bin/ncal/Makefile projects/make-check-sandbox/usr.bin/pr/Makefile projects/make-check-sandbox/usr.bin/printf/Makefile projects/make-check-sandbox/usr.bin/procstat/Makefile projects/make-check-sandbox/usr.bin/sdiff/Makefile projects/make-check-sandbox/usr.bin/sed/Makefile projects/make-check-sandbox/usr.bin/soelim/Makefile projects/make-check-sandbox/usr.bin/tail/Makefile projects/make-check-sandbox/usr.bin/tar/Makefile projects/make-check-sandbox/usr.bin/timeout/Makefile projects/make-check-sandbox/usr.bin/tr/Makefile projects/make-check-sandbox/usr.bin/truncate/Makefile projects/make-check-sandbox/usr.bin/uniq/Makefile projects/make-check-sandbox/usr.bin/units/Makefile projects/make-check-sandbox/usr.bin/uudecode/Makefile projects/make-check-sandbox/usr.bin/uuencode/Makefile projects/make-check-sandbox/usr.bin/xargs/Makefile projects/make-check-sandbox/usr.bin/xinstall/Makefile projects/make-check-sandbox/usr.bin/xo/Makefile projects/make-check-sandbox/usr.bin/yacc/Makefile projects/make-check-sandbox/usr.sbin/chown/Makefile projects/make-check-sandbox/usr.sbin/etcupdate/Makefile projects/make-check-sandbox/usr.sbin/extattr/Makefile projects/make-check-sandbox/usr.sbin/fstyp/Makefile projects/make-check-sandbox/usr.sbin/makefs/Makefile projects/make-check-sandbox/usr.sbin/newsyslog/Makefile projects/make-check-sandbox/usr.sbin/nmtree/Makefile projects/make-check-sandbox/usr.sbin/pw/Makefile projects/make-check-sandbox/usr.sbin/rpcbind/Makefile projects/make-check-sandbox/usr.sbin/sa/Makefile Modified: projects/make-check-sandbox/bin/cat/Makefile ============================================================================== --- projects/make-check-sandbox/bin/cat/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/bin/cat/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -6,6 +6,7 @@ PACKAGE=runtime PROG= cat +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/bin/date/Makefile ============================================================================== --- projects/make-check-sandbox/bin/date/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/bin/date/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -7,6 +7,7 @@ PACKAGE=runtime PROG= date SRCS= date.c netdate.c vary.c +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/bin/dd/Makefile ============================================================================== --- projects/make-check-sandbox/bin/dd/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/bin/dd/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -38,6 +38,7 @@ test: ${PROG} gen @rm -f gen 1M_zeroes* obs_zeroes +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/bin/echo/Makefile ============================================================================== --- projects/make-check-sandbox/bin/echo/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/bin/echo/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -6,6 +6,7 @@ PACKAGE=runtime PROG= echo +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/bin/expr/Makefile ============================================================================== --- projects/make-check-sandbox/bin/expr/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/bin/expr/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -12,6 +12,7 @@ CFLAGS+= -fwrapv NO_WMISSING_VARIABLE_DECLARATIONS= +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/bin/ln/Makefile ============================================================================== --- projects/make-check-sandbox/bin/ln/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/bin/ln/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -10,6 +10,7 @@ MAN= ln.1 symlink.7 LINKS= ${BINDIR}/ln ${BINDIR}/link MLINKS= ln.1 link.1 +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/bin/ls/Makefile ============================================================================== --- projects/make-check-sandbox/bin/ls/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/bin/ls/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -14,6 +14,7 @@ CFLAGS+= -DCOLORLS LIBADD+= termcapw .endif +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/bin/mv/Makefile ============================================================================== --- projects/make-check-sandbox/bin/mv/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/bin/mv/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -6,6 +6,7 @@ PACKAGE=runtime PROG= mv +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/bin/pax/Makefile ============================================================================== --- projects/make-check-sandbox/bin/pax/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/bin/pax/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -33,6 +33,7 @@ SRCS= ar_io.c ar_subs.c buf_subs.c cache.c cpio.c file gen_subs.c getoldopt.c options.c pat_rep.c pax.c sel_subs.c \ tables.c tar.c tty_subs.c +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/bin/pkill/Makefile ============================================================================== --- projects/make-check-sandbox/bin/pkill/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/bin/pkill/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -19,6 +19,7 @@ MLINKS= pkill.1 pgrep.1 SYMLINKS= ../..${BINDIR}/pkill /usr/bin/pkill SYMLINKS+= ../..${BINDIR}/pgrep /usr/bin/pgrep +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/bin/sleep/Makefile ============================================================================== --- projects/make-check-sandbox/bin/sleep/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/bin/sleep/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -6,6 +6,7 @@ PACKAGE=runtime PROG= sleep +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/bin/test/Makefile ============================================================================== --- projects/make-check-sandbox/bin/test/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/bin/test/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -8,6 +8,7 @@ PROG= test LINKS= ${BINDIR}/test ${BINDIR}/[ MLINKS= test.1 [.1 +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/lib/atf/libatf-c++/Makefile ============================================================================== --- projects/make-check-sandbox/lib/atf/libatf-c++/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/lib/atf/libatf-c++/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -72,6 +72,7 @@ INCSDIR_atf-c++.hpp= ${INCLUDEDIR} MAN= atf-c++.3 MLINKS+= atf-c++.3 atf-c-api++.3 # Backwards compatibility. +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include "../common.mk" Modified: projects/make-check-sandbox/lib/atf/libatf-c/Makefile ============================================================================== --- projects/make-check-sandbox/lib/atf/libatf-c/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/lib/atf/libatf-c/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -97,6 +97,7 @@ INCSDIR_atf-c.h= ${INCLUDEDIR} MAN= atf-c.3 MLINKS+= atf-c.3 atf-c-api.3 # Backwards compatibility. +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include "../common.mk" Modified: projects/make-check-sandbox/lib/libarchive/Makefile ============================================================================== --- projects/make-check-sandbox/lib/libarchive/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/lib/libarchive/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -413,6 +413,7 @@ MLINKS+= archive_write_set_options.3 archive_write_set MLINKS+= archive_write_set_options.3 archive_write_set_option.3 MLINKS+= libarchive.3 archive.3 +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.lib.mk> Modified: projects/make-check-sandbox/lib/libc/Makefile ============================================================================== --- projects/make-check-sandbox/lib/libc/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/lib/libc/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -173,6 +173,7 @@ libkern.${LIBC_ARCH}:: ${KMSRCS} ${CP} ${.ALLSRC} ${DESTDIR}/sys/libkern/${LIBC_ARCH} .endif +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.lib.mk> Modified: projects/make-check-sandbox/lib/libcasper/services/cap_dns/Makefile ============================================================================== --- projects/make-check-sandbox/lib/libcasper/services/cap_dns/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/lib/libcasper/services/cap_dns/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -18,6 +18,7 @@ LIBADD= nv CFLAGS+=-I${.CURDIR} +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.lib.mk> Modified: projects/make-check-sandbox/lib/libcasper/services/cap_grp/Makefile ============================================================================== --- projects/make-check-sandbox/lib/libcasper/services/cap_grp/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/lib/libcasper/services/cap_grp/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -18,6 +18,7 @@ LIBADD= nv CFLAGS+=-I${.CURDIR} +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.lib.mk> Modified: projects/make-check-sandbox/lib/libcasper/services/cap_pwd/Makefile ============================================================================== --- projects/make-check-sandbox/lib/libcasper/services/cap_pwd/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/lib/libcasper/services/cap_pwd/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -18,6 +18,7 @@ LIBADD= nv CFLAGS+=-I${.CURDIR} +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.lib.mk> Modified: projects/make-check-sandbox/lib/libcasper/services/cap_sysctl/Makefile ============================================================================== --- projects/make-check-sandbox/lib/libcasper/services/cap_sysctl/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/lib/libcasper/services/cap_sysctl/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -18,6 +18,7 @@ LIBADD= nv CFLAGS+=-I${.CURDIR} +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.lib.mk> Modified: projects/make-check-sandbox/lib/libcrypt/Makefile ============================================================================== --- projects/make-check-sandbox/lib/libcrypt/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/lib/libcrypt/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -43,6 +43,7 @@ WARNS?= 2 PRECIOUSLIB= +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.lib.mk> Modified: projects/make-check-sandbox/lib/libmp/Makefile ============================================================================== --- projects/make-check-sandbox/lib/libmp/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/lib/libmp/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -15,6 +15,7 @@ CFLAGS+= -I${SRCTOP}/crypto VERSION_DEF= ${SRCTOP}/lib/libc/Versions.def SYMBOL_MAPS= ${.CURDIR}/Symbol.map +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.lib.mk> Modified: projects/make-check-sandbox/lib/libnv/Makefile ============================================================================== --- projects/make-check-sandbox/lib/libnv/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/lib/libnv/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -17,6 +17,7 @@ SRCS+= msgio.c SRCS+= nvlist.c SRCS+= nvpair.c +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.lib.mk> Modified: projects/make-check-sandbox/lib/libpathconv/Makefile ============================================================================== --- projects/make-check-sandbox/lib/libpathconv/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/lib/libpathconv/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -13,6 +13,7 @@ SRCS= abs2rel.c rel2abs.c #VERSION_DEF= ${SRCTOP/lib/libc/Versions.def #SYMBOL_MAPS= ${.CURDIR}/Symbol.map +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.lib.mk> Modified: projects/make-check-sandbox/lib/libproc/Makefile ============================================================================== --- projects/make-check-sandbox/lib/libproc/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/lib/libproc/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -41,6 +41,7 @@ SHLIB_MAJOR= 4 MAN= +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.lib.mk> Modified: projects/make-check-sandbox/lib/librt/Makefile ============================================================================== --- projects/make-check-sandbox/lib/librt/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/lib/librt/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -21,6 +21,7 @@ PRECIOUSLIB= VERSION_DEF=${SRCTOP}/lib/libc/Versions.def SYMBOL_MAPS=${.CURDIR}/Symbol.map +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.lib.mk> Modified: projects/make-check-sandbox/lib/libthr/Makefile ============================================================================== --- projects/make-check-sandbox/lib/libthr/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/lib/libthr/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -69,6 +69,7 @@ SYMLINKS+=lib${LIB}.so ${LIBDIR}/libpthread.so SYMLINKS+=lib${LIB}_p.a ${LIBDIR}/libpthread_p.a .endif +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.lib.mk> Modified: projects/make-check-sandbox/lib/libutil/Makefile ============================================================================== --- projects/make-check-sandbox/lib/libutil/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/lib/libutil/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -84,6 +84,7 @@ MLINKS+=pw_util.3 pw_copy.3 \ pw_util.3 pw_tempname.3 \ pw_util.3 pw_tmp.3 +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.lib.mk> Modified: projects/make-check-sandbox/lib/libxo/Makefile ============================================================================== --- projects/make-check-sandbox/lib/libxo/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/lib/libxo/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -110,6 +110,7 @@ MLINKS= xo_attr.3 xo_attr_h.3 \ xo_syslog.3 xo_set_logmask.3 \ xo_syslog.3 xo_vsyslog.3 +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.lib.mk> Modified: projects/make-check-sandbox/lib/msun/Makefile ============================================================================== --- projects/make-check-sandbox/lib/msun/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/lib/msun/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -228,6 +228,7 @@ MLINKS+=trunc.3 truncf.3 trunc.3 truncl.3 .include <src.opts.mk> +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.lib.mk> Modified: projects/make-check-sandbox/libexec/atf/atf-check/Makefile ============================================================================== --- projects/make-check-sandbox/libexec/atf/atf-check/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/libexec/atf/atf-check/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -40,6 +40,7 @@ CFLAGS+= -DATF_SHELL='"/bin/sh"' LIBADD= atf_cxx +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/libexec/atf/atf-sh/Makefile ============================================================================== --- projects/make-check-sandbox/libexec/atf/atf-sh/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/libexec/atf/atf-sh/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -72,6 +72,7 @@ FILESGROUPS= SUBR SUBRDIR= ${SHAREDIR}/atf SUBR= libatf-sh.subr +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include "../../../lib/atf/common.mk" Modified: projects/make-check-sandbox/libexec/rtld-elf/Makefile ============================================================================== --- projects/make-check-sandbox/libexec/rtld-elf/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/libexec/rtld-elf/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -85,6 +85,7 @@ beforeinstall: .PATH: ${.CURDIR}/${RTLD_ARCH} +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/sbin/devd/Makefile ============================================================================== --- projects/make-check-sandbox/sbin/devd/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/sbin/devd/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -18,6 +18,7 @@ CFLAGS+=-I. -I${.CURDIR} CLEANFILES= y.output +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/sbin/dhclient/Makefile ============================================================================== --- projects/make-check-sandbox/sbin/dhclient/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/sbin/dhclient/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -46,6 +46,7 @@ LIBADD= util WARNS?= 2 +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/sbin/growfs/Makefile ============================================================================== --- projects/make-check-sandbox/sbin/growfs/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/sbin/growfs/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -22,6 +22,7 @@ NO_WCAST_ALIGN= yes LIBADD= util +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/sbin/ifconfig/Makefile ============================================================================== --- projects/make-check-sandbox/sbin/ifconfig/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/sbin/ifconfig/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -67,6 +67,7 @@ MAN= ifconfig.8 CFLAGS+= -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wnested-externs WARNS?= 2 +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/sbin/mdconfig/Makefile ============================================================================== --- projects/make-check-sandbox/sbin/mdconfig/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/sbin/mdconfig/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -8,6 +8,7 @@ MAN= mdconfig.8 LIBADD= util geom +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/sbin/pfctl/Makefile ============================================================================== --- projects/make-check-sandbox/sbin/pfctl/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/sbin/pfctl/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -31,6 +31,7 @@ YFLAGS= LIBADD= m md +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/share/examples/Makefile ============================================================================== --- projects/make-check-sandbox/share/examples/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/share/examples/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -266,6 +266,7 @@ SUBDIR+=pf .endif .endif +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests SUBDIR_PARALLEL= Modified: projects/make-check-sandbox/share/zoneinfo/Makefile ============================================================================== --- projects/make-check-sandbox/share/zoneinfo/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/share/zoneinfo/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -131,6 +131,7 @@ afterinstall: echo "Run tzsetup(8) manually to update /etc/localtime."; \ fi +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/usr.bin/apply/Makefile ============================================================================== --- projects/make-check-sandbox/usr.bin/apply/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/usr.bin/apply/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -7,6 +7,7 @@ PROG= apply LIBADD= sbuf +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/usr.bin/basename/Makefile ============================================================================== --- projects/make-check-sandbox/usr.bin/basename/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/usr.bin/basename/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -6,6 +6,7 @@ PROG= basename MLINKS= basename.1 dirname.1 +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/usr.bin/bsdcat/Makefile ============================================================================== --- projects/make-check-sandbox/usr.bin/bsdcat/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/usr.bin/bsdcat/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -24,6 +24,7 @@ LIBADD= archive CFLAGS+= -DHAVE_ICONV=1 -DHAVE_ICONV_H=1 -DICONV_CONST=const .endif +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/usr.bin/calendar/Makefile ============================================================================== --- projects/make-check-sandbox/usr.bin/calendar/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/usr.bin/calendar/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -33,6 +33,7 @@ beforeinstall: ${DESTDIR}${SHAREDIR}/calendar/${link} .endfor +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/usr.bin/cmp/Makefile ============================================================================== --- projects/make-check-sandbox/usr.bin/cmp/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/usr.bin/cmp/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -6,6 +6,7 @@ PROG= cmp SRCS= cmp.c link.c misc.c regular.c special.c +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/usr.bin/col/Makefile ============================================================================== --- projects/make-check-sandbox/usr.bin/col/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/usr.bin/col/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -5,6 +5,7 @@ PROG= col +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/usr.bin/comm/Makefile ============================================================================== --- projects/make-check-sandbox/usr.bin/comm/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/usr.bin/comm/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -5,6 +5,7 @@ PROG= comm +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/usr.bin/compress/Makefile ============================================================================== --- projects/make-check-sandbox/usr.bin/compress/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/usr.bin/compress/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -11,6 +11,7 @@ MLINKS= compress.1 uncompress.1 # XXX zopen is not part of libc # MAN=zopen.3 +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/usr.bin/cpio/Makefile ============================================================================== --- projects/make-check-sandbox/usr.bin/cpio/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/usr.bin/cpio/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -32,6 +32,7 @@ CFLAGS+= -DHAVE_ICONV=1 -DHAVE_ICONV_H=1 -DICONV_CONST SYMLINKS=bsdcpio ${BINDIR}/cpio MLINKS= bsdcpio.1 cpio.1 +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/usr.bin/csplit/Makefile ============================================================================== --- projects/make-check-sandbox/usr.bin/csplit/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/usr.bin/csplit/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -4,6 +4,7 @@ PROG= csplit +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/usr.bin/cut/Makefile ============================================================================== --- projects/make-check-sandbox/usr.bin/cut/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/usr.bin/cut/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -5,6 +5,7 @@ PROG= cut +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/usr.bin/diff/Makefile ============================================================================== --- projects/make-check-sandbox/usr.bin/diff/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/usr.bin/diff/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -5,6 +5,7 @@ PROG= diff SRCS= diff.c diffdir.c diffreg.c xmalloc.c +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/usr.bin/diff3/Makefile ============================================================================== --- projects/make-check-sandbox/usr.bin/diff3/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/usr.bin/diff3/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -4,6 +4,7 @@ PROG= diff3 +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/usr.bin/dirname/Makefile ============================================================================== --- projects/make-check-sandbox/usr.bin/dirname/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/usr.bin/dirname/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -6,6 +6,7 @@ PROG= dirname MAN= +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/usr.bin/file2c/Makefile ============================================================================== --- projects/make-check-sandbox/usr.bin/file2c/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/usr.bin/file2c/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -4,6 +4,7 @@ PROG= file2c +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/usr.bin/getconf/Makefile ============================================================================== --- projects/make-check-sandbox/usr.bin/getconf/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/usr.bin/getconf/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -37,6 +37,7 @@ conflicting.names: confstr.names limits.names sysconf. unique.names: conflicting.names LC_ALL=C sort -u ${.ALLSRC} >${.TARGET} +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/usr.bin/grep/Makefile ============================================================================== --- projects/make-check-sandbox/usr.bin/grep/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/usr.bin/grep/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -92,6 +92,7 @@ LIBADD+= gnuregex CFLAGS+= -DWITHOUT_NLS .endif +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/usr.bin/gzip/Makefile ============================================================================== --- projects/make-check-sandbox/usr.bin/gzip/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/usr.bin/gzip/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -27,6 +27,7 @@ LINKS+= ${BINDIR}/gzip ${BINDIR}/gunzip \ ${BINDIR}/gzip ${BINDIR}/zcat \ ${BINDIR}/zdiff ${BINDIR}/zcmp +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/usr.bin/hexdump/Makefile ============================================================================== --- projects/make-check-sandbox/usr.bin/hexdump/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/usr.bin/hexdump/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -10,6 +10,7 @@ MLINKS= hexdump.1 hd.1 LINKS= ${BINDIR}/hexdump ${BINDIR}/od LINKS+= ${BINDIR}/hexdump ${BINDIR}/hd +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/usr.bin/ident/Makefile ============================================================================== --- projects/make-check-sandbox/usr.bin/ident/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/usr.bin/ident/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -6,6 +6,7 @@ PROG= ident LIBADD= sbuf +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/usr.bin/indent/Makefile ============================================================================== --- projects/make-check-sandbox/usr.bin/indent/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/usr.bin/indent/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -8,6 +8,7 @@ SRCS= indent.c io.c lexi.c parse.c pr_comment.c args.c NO_WMISSING_VARIABLE_DECLARATIONS= +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/usr.bin/join/Makefile ============================================================================== --- projects/make-check-sandbox/usr.bin/join/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/usr.bin/join/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -5,6 +5,7 @@ PROG= join +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/usr.bin/jot/Makefile ============================================================================== --- projects/make-check-sandbox/usr.bin/jot/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/usr.bin/jot/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -5,6 +5,7 @@ PROG= jot +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/usr.bin/lastcomm/Makefile ============================================================================== --- projects/make-check-sandbox/usr.bin/lastcomm/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/usr.bin/lastcomm/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -8,6 +8,7 @@ PACKAGE=acct PROG= lastcomm SRCS= lastcomm.c readrec.c +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/usr.bin/limits/Makefile ============================================================================== --- projects/make-check-sandbox/usr.bin/limits/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/usr.bin/limits/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -5,6 +5,7 @@ PROG= limits LIBADD= util +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/usr.bin/m4/Makefile ============================================================================== --- projects/make-check-sandbox/usr.bin/m4/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/usr.bin/m4/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -20,6 +20,7 @@ tokenizer.o: parser.h CLEANFILES+= parser.c parser.h tokenizer.o +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/usr.bin/mkimg/Makefile ============================================================================== --- projects/make-check-sandbox/usr.bin/mkimg/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/usr.bin/mkimg/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -35,6 +35,7 @@ LIBADD= util WARNS?= 6 +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/usr.bin/ncal/Makefile ============================================================================== --- projects/make-check-sandbox/usr.bin/ncal/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/usr.bin/ncal/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -9,6 +9,7 @@ LIBADD= calendar ncursesw LINKS= ${BINDIR}/ncal ${BINDIR}/cal MLINKS= ncal.1 cal.1 +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/usr.bin/pr/Makefile ============================================================================== --- projects/make-check-sandbox/usr.bin/pr/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/usr.bin/pr/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -6,6 +6,7 @@ PROG= pr SRCS= pr.c egetopt.c +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/usr.bin/printf/Makefile ============================================================================== --- projects/make-check-sandbox/usr.bin/printf/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/usr.bin/printf/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -5,6 +5,7 @@ PROG= printf +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/usr.bin/procstat/Makefile ============================================================================== --- projects/make-check-sandbox/usr.bin/procstat/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/usr.bin/procstat/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -22,6 +22,7 @@ SRCS= procstat.c \ LIBADD+= procstat xo util sbuf +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/usr.bin/sdiff/Makefile ============================================================================== --- projects/make-check-sandbox/usr.bin/sdiff/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/usr.bin/sdiff/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -8,6 +8,7 @@ WARNS= 3 MAN1= sdiff.1 +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/usr.bin/sed/Makefile ============================================================================== --- projects/make-check-sandbox/usr.bin/sed/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/usr.bin/sed/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -8,6 +8,7 @@ SRCS= compile.c main.c misc.c process.c WARNS?= 2 +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/usr.bin/soelim/Makefile ============================================================================== --- projects/make-check-sandbox/usr.bin/soelim/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/usr.bin/soelim/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -4,6 +4,7 @@ PROG= soelim +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/usr.bin/tail/Makefile ============================================================================== --- projects/make-check-sandbox/usr.bin/tail/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/usr.bin/tail/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -6,6 +6,7 @@ PROG= tail SRCS= forward.c misc.c read.c reverse.c tail.c +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/usr.bin/tar/Makefile ============================================================================== --- projects/make-check-sandbox/usr.bin/tar/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/usr.bin/tar/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -33,6 +33,7 @@ CFLAGS+= -I${_LIBARCHIVEDIR}/libarchive_fe SYMLINKS= bsdtar ${BINDIR}/tar MLINKS= bsdtar.1 tar.1 +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/usr.bin/timeout/Makefile ============================================================================== --- projects/make-check-sandbox/usr.bin/timeout/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/usr.bin/timeout/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -4,6 +4,7 @@ PROG= timeout +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/usr.bin/tr/Makefile ============================================================================== --- projects/make-check-sandbox/usr.bin/tr/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/usr.bin/tr/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -6,6 +6,7 @@ PROG= tr SRCS= cmap.c cset.c str.c tr.c +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/usr.bin/truncate/Makefile ============================================================================== --- projects/make-check-sandbox/usr.bin/truncate/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/usr.bin/truncate/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -5,6 +5,7 @@ PROG= truncate LIBADD= util +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/usr.bin/uniq/Makefile ============================================================================== --- projects/make-check-sandbox/usr.bin/uniq/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/usr.bin/uniq/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -5,6 +5,7 @@ PROG= uniq +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/usr.bin/units/Makefile ============================================================================== --- projects/make-check-sandbox/usr.bin/units/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/usr.bin/units/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -8,6 +8,7 @@ FILESDIR= ${SHAREDIR}/misc LIBADD= edit +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/usr.bin/uudecode/Makefile ============================================================================== --- projects/make-check-sandbox/usr.bin/uudecode/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/usr.bin/uudecode/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -7,6 +7,7 @@ PROG= uudecode LINKS= ${BINDIR}/uudecode ${BINDIR}/b64decode MAN= +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/usr.bin/uuencode/Makefile ============================================================================== --- projects/make-check-sandbox/usr.bin/uuencode/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/usr.bin/uuencode/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -11,6 +11,7 @@ MLINKS= uuencode.1 uudecode.1 \ uuencode.1 b64encode.1 \ b64encode.1 b64decode.1 +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/usr.bin/xargs/Makefile ============================================================================== --- projects/make-check-sandbox/usr.bin/xargs/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/usr.bin/xargs/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -6,6 +6,7 @@ PROG= xargs SRCS= xargs.c strnsubst.c +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/usr.bin/xinstall/Makefile ============================================================================== --- projects/make-check-sandbox/usr.bin/xinstall/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/usr.bin/xinstall/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -14,6 +14,7 @@ CFLAGS+= -I${SRCTOP}/lib/libnetbsd LIBADD= md +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/usr.bin/xo/Makefile ============================================================================== --- projects/make-check-sandbox/usr.bin/xo/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/usr.bin/xo/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -18,6 +18,7 @@ CFLAGS+=-I${SRCTOP}/lib/libxo LIBADD= xo util +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/usr.bin/yacc/Makefile ============================================================================== --- projects/make-check-sandbox/usr.bin/yacc/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/usr.bin/yacc/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -21,6 +21,7 @@ CFLAGS+= -DYYPATCH=${YYPATCH} LINKS= ${BINDIR}/yacc ${BINDIR}/byacc MLINKS= yacc.1 byacc.1 +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/usr.sbin/chown/Makefile ============================================================================== --- projects/make-check-sandbox/usr.sbin/chown/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/usr.sbin/chown/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -7,6 +7,7 @@ PROG= chown LINKS= ${BINDIR}/chown /usr/bin/chgrp MAN= chgrp.1 chown.8 +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/usr.sbin/etcupdate/Makefile ============================================================================== --- projects/make-check-sandbox/usr.sbin/etcupdate/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/usr.sbin/etcupdate/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -5,6 +5,7 @@ SCRIPTS=etcupdate.sh MAN= etcupdate.8 +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/usr.sbin/extattr/Makefile ============================================================================== --- projects/make-check-sandbox/usr.sbin/extattr/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/usr.sbin/extattr/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -15,6 +15,7 @@ MLINKS+= rmextattr.8 lsextattr.8 .include <src.opts.mk> +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/usr.sbin/fstyp/Makefile ============================================================================== --- projects/make-check-sandbox/usr.sbin/fstyp/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/usr.sbin/fstyp/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -16,6 +16,7 @@ WARNS?= 2 .include <bsd.endian.mk> .if ${TARGET_ENDIANNESS} == 1234 +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .endif Modified: projects/make-check-sandbox/usr.sbin/makefs/Makefile ============================================================================== --- projects/make-check-sandbox/usr.sbin/makefs/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/usr.sbin/makefs/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -35,6 +35,7 @@ SRCS+= ffs_tables.c CFLAGS+= -I${SRCTOP}/lib/libnetbsd LIBADD= netbsd util sbuf +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/usr.sbin/newsyslog/Makefile ============================================================================== --- projects/make-check-sandbox/usr.sbin/newsyslog/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/usr.sbin/newsyslog/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -6,6 +6,7 @@ PROG= newsyslog MAN= newsyslog.8 newsyslog.conf.5 SRCS= newsyslog.c ptimes.c +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/usr.sbin/nmtree/Makefile ============================================================================== --- projects/make-check-sandbox/usr.sbin/nmtree/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/usr.sbin/nmtree/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -19,6 +19,7 @@ LIBADD= netbsd md util LINKS= ${BINDIR}/mtree ${BINDIR}/nmtree MLINKS= mtree.8 nmtree.8 +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/usr.sbin/pw/Makefile ============================================================================== --- projects/make-check-sandbox/usr.sbin/pw/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/usr.sbin/pw/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -12,6 +12,7 @@ LIBADD= crypt util sbuf .include <src.opts.mk> +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk> Modified: projects/make-check-sandbox/usr.sbin/rpcbind/Makefile ============================================================================== --- projects/make-check-sandbox/usr.sbin/rpcbind/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/usr.sbin/rpcbind/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -23,6 +23,7 @@ CFLAGS+= -DLIBWRAP LIBADD+= wrap .endif +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests WARNS?= 1 Modified: projects/make-check-sandbox/usr.sbin/sa/Makefile ============================================================================== --- projects/make-check-sandbox/usr.sbin/sa/Makefile Wed Aug 2 08:38:36 2017 (r321913) +++ projects/make-check-sandbox/usr.sbin/sa/Makefile Wed Aug 2 08:50:42 2017 (r321914) @@ -10,6 +10,7 @@ SRCS= main.c db.c pdb.c usrdb.c readrec.c PACKAGE=acct +HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include <bsd.prog.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201708020850.v728ohbp023886>