Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Aug 2017 08:14:06 +0000 (UTC)
From:      Ngie Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r321911 - in projects/make-check-sandbox: bin/chmod bin/pwait bin/sh lib/libcam lib/libkvm lib/libsbuf usr.bin/du usr.bin/stat
Message-ID:  <201708020814.v728E6Lv010368@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Wed Aug  2 08:14:06 2017
New Revision: 321911
URL: https://svnweb.freebsd.org/changeset/base/321911

Log:
  Add HAS_TESTS to all Makefiles that use the SUBDIR.${MK_TESTS}+= tests idiom

Modified:
  projects/make-check-sandbox/bin/chmod/Makefile
  projects/make-check-sandbox/bin/pwait/Makefile
  projects/make-check-sandbox/bin/sh/Makefile
  projects/make-check-sandbox/lib/libcam/Makefile
  projects/make-check-sandbox/lib/libkvm/Makefile
  projects/make-check-sandbox/lib/libsbuf/Makefile
  projects/make-check-sandbox/usr.bin/du/Makefile
  projects/make-check-sandbox/usr.bin/stat/Makefile

Modified: projects/make-check-sandbox/bin/chmod/Makefile
==============================================================================
--- projects/make-check-sandbox/bin/chmod/Makefile	Wed Aug  2 08:07:13 2017	(r321910)
+++ projects/make-check-sandbox/bin/chmod/Makefile	Wed Aug  2 08:14:06 2017	(r321911)
@@ -6,6 +6,7 @@
 PACKAGE=runtime
 PROG=	chmod
 
+HAS_TESTS=
 SUBDIR.${MK_TESTS}+=	tests
 
 .include <bsd.prog.mk>

Modified: projects/make-check-sandbox/bin/pwait/Makefile
==============================================================================
--- projects/make-check-sandbox/bin/pwait/Makefile	Wed Aug  2 08:07:13 2017	(r321910)
+++ projects/make-check-sandbox/bin/pwait/Makefile	Wed Aug  2 08:14:06 2017	(r321911)
@@ -5,6 +5,7 @@
 PACKAGE=runtime
 PROG=	pwait
 
+HAS_TESTS=
 SUBDIR.${MK_TESTS}+=	tests
 
 .include <bsd.prog.mk>

Modified: projects/make-check-sandbox/bin/sh/Makefile
==============================================================================
--- projects/make-check-sandbox/bin/sh/Makefile	Wed Aug  2 08:07:13 2017	(r321910)
+++ projects/make-check-sandbox/bin/sh/Makefile	Wed Aug  2 08:14:06 2017	(r321911)
@@ -64,8 +64,7 @@ syntax.c syntax.h: mksyntax
 token.h: mktokens
 	sh ${.CURDIR}/mktokens
 
-.if ${MK_TESTS} != "no"
-SUBDIR+=    tests
-.endif
+HAS_TESTS=
+SUBDIR.${MK_TESTS}+=	tests
 
 .include <bsd.prog.mk>

Modified: projects/make-check-sandbox/lib/libcam/Makefile
==============================================================================
--- projects/make-check-sandbox/lib/libcam/Makefile	Wed Aug  2 08:07:13 2017	(r321910)
+++ projects/make-check-sandbox/lib/libcam/Makefile	Wed Aug  2 08:14:06 2017	(r321911)
@@ -47,6 +47,7 @@ SHLIB_MAJOR=	7
 
 .include <src.opts.mk>
 
+HAS_TESTS=
 SUBDIR.${MK_TESTS}+=	tests
 
 .include <bsd.lib.mk>

Modified: projects/make-check-sandbox/lib/libkvm/Makefile
==============================================================================
--- projects/make-check-sandbox/lib/libkvm/Makefile	Wed Aug  2 08:07:13 2017	(r321910)
+++ projects/make-check-sandbox/lib/libkvm/Makefile	Wed Aug  2 08:14:06 2017	(r321911)
@@ -38,6 +38,7 @@ MLINKS+=kvm_read.3 kvm_read2.3 kvm_read.3 kvm_write.3
 
 .include <src.opts.mk>
 
+HAS_TESTS=
 SUBDIR.${MK_TESTS}=	tests
 
 .include <bsd.lib.mk>

Modified: projects/make-check-sandbox/lib/libsbuf/Makefile
==============================================================================
--- projects/make-check-sandbox/lib/libsbuf/Makefile	Wed Aug  2 08:07:13 2017	(r321910)
+++ projects/make-check-sandbox/lib/libsbuf/Makefile	Wed Aug  2 08:14:06 2017	(r321911)
@@ -14,6 +14,7 @@ VERSION_DEF=	${.CURDIR}/Version.def
 
 .PATH:	${SRCTOP}/sys/kern
 
+HAS_TESTS=
 SUBDIR.${MK_TESTS}+=	tests
 
 .include <bsd.lib.mk>

Modified: projects/make-check-sandbox/usr.bin/du/Makefile
==============================================================================
--- projects/make-check-sandbox/usr.bin/du/Makefile	Wed Aug  2 08:07:13 2017	(r321910)
+++ projects/make-check-sandbox/usr.bin/du/Makefile	Wed Aug  2 08:14:06 2017	(r321911)
@@ -6,6 +6,7 @@
 PROG=	du
 LIBADD=	util
 
+HAS_TESTS=
 SUBDIR.${MK_TESTS}+=	tests
 
 .include <bsd.prog.mk>

Modified: projects/make-check-sandbox/usr.bin/stat/Makefile
==============================================================================
--- projects/make-check-sandbox/usr.bin/stat/Makefile	Wed Aug  2 08:07:13 2017	(r321910)
+++ projects/make-check-sandbox/usr.bin/stat/Makefile	Wed Aug  2 08:14:06 2017	(r321911)
@@ -7,6 +7,7 @@ PROG=	stat
 LINKS=	${BINDIR}/stat ${BINDIR}/readlink
 MLINKS=	stat.1 readlink.1
 
+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?201708020814.v728E6Lv010368>