diff options
author | ngie <ngie@FreeBSD.org> | 2015-12-30 08:02:11 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2015-12-30 08:02:11 +0000 |
commit | 15afae85deb48e3e52ed3d9df3b576cb58793c31 (patch) | |
tree | 2d04196f4c677221757494ec453b99547619a379 | |
parent | 48b72481dba08c5185c1dd6a70b82b326be43d6b (diff) | |
download | FreeBSD-src-15afae85deb48e3e52ed3d9df3b576cb58793c31.zip FreeBSD-src-15afae85deb48e3e52ed3d9df3b576cb58793c31.tar.gz |
Hook the tests into the build automatically by creating a stub tests/ directory
which installs the autotraversing Kyuafile
-rw-r--r-- | sbin/geom/Makefile | 6 | ||||
-rw-r--r-- | sbin/geom/tests/Makefile | 8 |
2 files changed, 14 insertions, 0 deletions
diff --git a/sbin/geom/Makefile b/sbin/geom/Makefile index 19a5636..070e3bc 100644 --- a/sbin/geom/Makefile +++ b/sbin/geom/Makefile @@ -20,8 +20,14 @@ LIBADD= geom util .else +.include <src.opts.mk> + SUBDIR= core class +.if ${MK_TESTS} != "no" +SUBDIR+= tests +.endif + .include <bsd.subdir.mk> .endif diff --git a/sbin/geom/tests/Makefile b/sbin/geom/tests/Makefile new file mode 100644 index 0000000..f0d4d12 --- /dev/null +++ b/sbin/geom/tests/Makefile @@ -0,0 +1,8 @@ +# $FreeBSD$ + +.PATH: ${SRCTOP}/tests + +TESTSDIR= ${TESTSBASE}/sbin/geom +KYUAFILE= yes + +.include <bsd.test.mk> |