aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/tests/Makefile.netbsd-tests
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/tests/Makefile.netbsd-tests')
-rw-r--r--lib/libc/tests/Makefile.netbsd-tests6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/tests/Makefile.netbsd-tests b/lib/libc/tests/Makefile.netbsd-tests
index f364b1c1b486..32385186425f 100644
--- a/lib/libc/tests/Makefile.netbsd-tests
+++ b/lib/libc/tests/Makefile.netbsd-tests
@@ -1,7 +1,7 @@
# $FreeBSD$
-OBJTOP?= ${.OBJDIR:H:H:H:H}
-SRCTOP?= ${.CURDIR:H:H:H:H}
-TESTSRC?= ${SRCTOP}/contrib/netbsd-tests/lib/libc/${.CURDIR:T}
+TESTSRC:= ${SRCTOP}/contrib/netbsd-tests/${RELDIR:C/libc\/tests/libc/}
+
+TESTSDIR:= ${TESTSBASE}/${RELDIR:C/libc\/tests/libc/}
.include <netbsd-tests.test.mk>