summaryrefslogtreecommitdiffstats
path: root/lib/atf/libatf-c/Makefile
diff options
context:
space:
mode:
authorjmmv <jmmv@FreeBSD.org>2013-12-28 23:08:58 +0000
committerjmmv <jmmv@FreeBSD.org>2013-12-28 23:08:58 +0000
commit17b80845b0ba13495186831d3505af8c20eeb6ac (patch)
treef67dde62985332519d0ad6763cdb1b68c9793ab3 /lib/atf/libatf-c/Makefile
parentb8ce141a401c502407ab3e076ccfc3b428c8ac61 (diff)
downloadFreeBSD-src-17b80845b0ba13495186831d3505af8c20eeb6ac.zip
FreeBSD-src-17b80845b0ba13495186831d3505af8c20eeb6ac.tar.gz
Plug the ATF tests into the build.
This is a MFC into stable/10 of: - r257849 Add libatf-c++ to the prebuild libs. - r257853 Build and install the atf tests. - r258233 Move all atf directories to the tests mtree. - r258285 Fix the build of some ATF tests. This change is "make tinderbox" clean on ref10-amd64 with the default settings of WITHOUT_TESTS. It is likely for the WITH_TESTS build to still be broken because not all relevant changes have been merged yet.
Diffstat (limited to 'lib/atf/libatf-c/Makefile')
-rw-r--r--lib/atf/libatf-c/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/atf/libatf-c/Makefile b/lib/atf/libatf-c/Makefile
index 26fba5c..b197958 100644
--- a/lib/atf/libatf-c/Makefile
+++ b/lib/atf/libatf-c/Makefile
@@ -30,6 +30,7 @@
LIB= atf-c
SHLIB_MAJOR= 1
+ATF= ${.CURDIR:H:H:H}/contrib/atf
.PATH: ${ATF}
.PATH: ${ATF}/atf-c
.PATH: ${ATF}/atf-c/detail
@@ -73,4 +74,8 @@ INCSDIR_atf-c.h= ${INCLUDEDIR}
MAN= atf-c-api.3
+.if ${MK_TESTS} != "no"
+SUBDIR= tests
+.endif
+
.include <bsd.lib.mk>
OpenPOWER on IntegriCloud