summaryrefslogtreecommitdiffstats
path: root/lib/libcrypt/tests/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libcrypt/tests/Makefile')
-rw-r--r--lib/libcrypt/tests/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/libcrypt/tests/Makefile b/lib/libcrypt/tests/Makefile
index 20993e2..65ebd66 100644
--- a/lib/libcrypt/tests/Makefile
+++ b/lib/libcrypt/tests/Makefile
@@ -1,13 +1,17 @@
# $FreeBSD$
-# exercise libcrypt
+SRCTOP= ${.CURDIR:H:H:H}
+OBJTOP= ${.OBJDIR:H:H:H}
+TESTSRC= ${SRCTOP}/contrib/netbsd-tests/lib/libcrypt
TESTSDIR= ${TESTSBASE}/lib/libcrypt
-ATF_TESTS_C= crypt_tests
+NETBSD_ATF_TESTS_C+= crypt_test
CFLAGS+= -I${.CURDIR:H}
DPADD+= ${LIBCRYPT}
LDADD+= -lcrypt
+.include <netbsd-tests.test.mk>
+
.include <bsd.test.mk>
OpenPOWER on IntegriCloud