diff options
author | ngie <ngie@FreeBSD.org> | 2017-02-09 22:49:48 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2017-02-09 22:49:48 +0000 |
commit | 6b3722162f25f17568ac341320ee8e7ede42bc7e (patch) | |
tree | b94a04c0147f408897b87a9704b40d0c5fd8067f /share | |
parent | 72ef9ff5b96eef28f0024f16157bf47833200e6d (diff) | |
download | FreeBSD-src-6b3722162f25f17568ac341320ee8e7ede42bc7e.zip FreeBSD-src-6b3722162f25f17568ac341320ee8e7ede42bc7e.tar.gz |
MFC r289172,r290254:
r289172:
Refactor the test/ Makefiles after recent changes to bsd.test.mk (r289158) and
netbsd-tests.test.mk (r289151)
- Eliminate explicit OBJTOP/SRCTOP setting
- Convert all ad hoc NetBSD test integration over to netbsd-tests.test.mk
- Remove unnecessary TESTSDIR setting
- Use SRCTOP where possible for clarity
r290254:
Remove unused variable (SRCDIR)
Diffstat (limited to 'share')
-rw-r--r-- | share/examples/tests/Makefile | 4 | ||||
-rw-r--r-- | share/tests/Makefile | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/share/examples/tests/Makefile b/share/examples/tests/Makefile index 387b806..a091b2d 100644 --- a/share/examples/tests/Makefile +++ b/share/examples/tests/Makefile @@ -2,11 +2,9 @@ .include <bsd.own.mk> -TESTSDIR= ${TESTSBASE}/share/examples - SUBDIR= tests +.PATH: ${SRCTOP}/tests KYUAFILE= yes -.PATH: ${.CURDIR:H:H:H}/tests .include <bsd.test.mk> diff --git a/share/tests/Makefile b/share/tests/Makefile index 2c63621..e070571 100644 --- a/share/tests/Makefile +++ b/share/tests/Makefile @@ -4,7 +4,7 @@ TESTSDIR= ${TESTSBASE}/share -.PATH: ${.CURDIR:H:H}/tests +.PATH: ${SRCTOP}/tests KYUAFILE= yes .include <bsd.test.mk> |