aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2017-08-02 08:14:06 +0000
committerEnji Cooper <ngie@FreeBSD.org>2017-08-02 08:14:06 +0000
commit8c09935728787235a761b6104c91ad6885ed4cd8 (patch)
tree656506d15b213cca9be7a5a93c648871491e0f15 /bin
parent5e291c3faf37cc6fa065555c34041e5e67838a83 (diff)
downloadsrc-8c09935728787235a761b6104c91ad6885ed4cd8.tar.gz
src-8c09935728787235a761b6104c91ad6885ed4cd8.zip
Add HAS_TESTS to all Makefiles that use the SUBDIR.${MK_TESTS}+= tests idiom
Notes
Notes: svn path=/projects/make-check-sandbox/; revision=321911
Diffstat (limited to 'bin')
-rw-r--r--bin/chmod/Makefile1
-rw-r--r--bin/pwait/Makefile1
-rw-r--r--bin/sh/Makefile5
3 files changed, 4 insertions, 3 deletions
diff --git a/bin/chmod/Makefile b/bin/chmod/Makefile
index 3b2c2d1ecac6..ffb3352ba553 100644
--- a/bin/chmod/Makefile
+++ b/bin/chmod/Makefile
@@ -6,6 +6,7 @@
PACKAGE=runtime
PROG= chmod
+HAS_TESTS=
SUBDIR.${MK_TESTS}+= tests
.include <bsd.prog.mk>
diff --git a/bin/pwait/Makefile b/bin/pwait/Makefile
index ab9f3ae73565..210ae3cdb918 100644
--- a/bin/pwait/Makefile
+++ b/bin/pwait/Makefile
@@ -5,6 +5,7 @@
PACKAGE=runtime
PROG= pwait
+HAS_TESTS=
SUBDIR.${MK_TESTS}+= tests
.include <bsd.prog.mk>
diff --git a/bin/sh/Makefile b/bin/sh/Makefile
index 65856de36491..62a74f80f79c 100644
--- a/bin/sh/Makefile
+++ b/bin/sh/Makefile
@@ -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>