summaryrefslogtreecommitdiffstats
path: root/usr.bin/atf/atf-sh/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/atf/atf-sh/Makefile')
-rw-r--r--usr.bin/atf/atf-sh/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/usr.bin/atf/atf-sh/Makefile b/usr.bin/atf/atf-sh/Makefile
index 8112098..1688b19 100644
--- a/usr.bin/atf/atf-sh/Makefile
+++ b/usr.bin/atf/atf-sh/Makefile
@@ -27,6 +27,7 @@
.include <bsd.init.mk>
+ATF= ${.CURDIR:H:H:H}/contrib/atf
.PATH: ${ATF}/atf-sh
PROG_CXX= atf-sh
@@ -44,4 +45,8 @@ FILESGROUPS= SUBR
SUBRDIR= ${SHAREDIR}/atf
SUBR= libatf-sh.subr
+.if ${MK_TESTS} != "no"
+SUBDIR+= tests
+.endif
+
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud