aboutsummaryrefslogtreecommitdiff
path: root/libexec/atf/atf-sh/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/atf/atf-sh/Makefile')
-rw-r--r--libexec/atf/atf-sh/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/libexec/atf/atf-sh/Makefile b/libexec/atf/atf-sh/Makefile
index a9ecc2ffcaa9..17728677c335 100644
--- a/libexec/atf/atf-sh/Makefile
+++ b/libexec/atf/atf-sh/Makefile
@@ -72,9 +72,7 @@ FILESGROUPS= SUBR
SUBRDIR= ${SHAREDIR}/atf
SUBR= libatf-sh.subr
-.if ${MK_TESTS} != "no"
-SUBDIR+= tests
-.endif
+SUBDIR.${MK_TESTS}+= tests
.include "../../../lib/atf/common.mk"
.include <bsd.prog.mk>