summaryrefslogtreecommitdiffstats
path: root/gnu/lib
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/lib')
-rw-r--r--gnu/lib/Makefile4
-rw-r--r--gnu/lib/tests/Makefile10
2 files changed, 14 insertions, 0 deletions
diff --git a/gnu/lib/Makefile b/gnu/lib/Makefile
index 61ea14b..0a607d7 100644
--- a/gnu/lib/Makefile
+++ b/gnu/lib/Makefile
@@ -8,6 +8,10 @@ SUBDIR= csu libgcc libgcov libdialog libgomp libregex libreadline
SUBDIR+= libssp
.endif
+.if ${MK_TESTS} != "no"
+SUBDIR+= tests
+.endif
+
# libsupc++ uses libstdc++ headers, although 'make includes' should
# have taken care of that already.
.if ${MK_GNUCXX} != "no" && ${MK_CXX} != "no"
diff --git a/gnu/lib/tests/Makefile b/gnu/lib/tests/Makefile
new file mode 100644
index 0000000..256e245
--- /dev/null
+++ b/gnu/lib/tests/Makefile
@@ -0,0 +1,10 @@
+# $FreeBSD$
+
+.include <bsd.own.mk>
+
+TESTSDIR= ${TESTSBASE}/gnu/lib
+
+.PATH: ${.CURDIR:H:H:H}/tests
+KYUAFILE= yes
+
+.include <bsd.test.mk>
OpenPOWER on IntegriCloud