diff options
author | Enji Cooper <ngie@FreeBSD.org> | 2015-10-12 08:16:03 +0000 |
---|---|---|
committer | Enji Cooper <ngie@FreeBSD.org> | 2015-10-12 08:16:03 +0000 |
commit | b2d48be1bc7df45ddd13b143a160d0acb5a383c5 (patch) | |
tree | 67a85c5694bcdbbc7b1839be795cd25ef318ed91 /share | |
parent | 4f4a7a03cea15a671284f9c06ada80755c994df6 (diff) | |
download | src-b2d48be1bc7df45ddd13b143a160d0acb5a383c5.tar.gz src-b2d48be1bc7df45ddd13b143a160d0acb5a383c5.zip |
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
MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Divison
Notes
Notes:
svn path=/head/; revision=289172
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 387b8068b1f7..a091b2d2f68e 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 2c6362193ab7..e070571ecb4b 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> |