diff options
author | rpaulo <rpaulo@FreeBSD.org> | 2013-10-25 05:25:19 +0000 |
---|---|---|
committer | rpaulo <rpaulo@FreeBSD.org> | 2013-10-25 05:25:19 +0000 |
commit | d57a569a3a5d32ff5b19feca57fae3584dc928c0 (patch) | |
tree | d2d64f8bb603e244c2f535208834fc5bfd9f5e27 /tests/lib/Makefile | |
parent | 147cad9747a9320cd3166bcbff36925a05313d5a (diff) | |
download | FreeBSD-src-d57a569a3a5d32ff5b19feca57fae3584dc928c0.zip FreeBSD-src-d57a569a3a5d32ff5b19feca57fae3584dc928c0.tar.gz |
Set up the /usr/tests hierarchy.
Populate /usr/tests with the only test programs that currently live
in the tree (those in lib/libcrypt/tests/) and add all the build
machinery to accompany this change.
In particular:
- Add a WITHOUT_TESTS variable that users can define to request that
no tests be put in /usr/tests.
- Add a top-level Kyuafile for /usr/tests and a way to create similar
Kyuafiles in top-level subdirectories.
- Add a BSD.tests.dist file to define the directory layout of
/usr/tests.
Submitted by: Julio Merino jmmv google.com
Reviewed by: sjg
MFC after: 2 weeks
Diffstat (limited to 'tests/lib/Makefile')
-rw-r--r-- | tests/lib/Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/lib/Makefile b/tests/lib/Makefile new file mode 100644 index 0000000..29b85b3 --- /dev/null +++ b/tests/lib/Makefile @@ -0,0 +1,13 @@ +# $FreeBSD$ + +.include <bsd.own.mk> + +TESTSDIR= ${TESTSBASE}/lib + +KYUAFILE= yes + +CLEANFILES+= Kyuafile +Kyuafile: ${.CURDIR}/../Kyuafile + cp -f ${.CURDIR}/../Kyuafile . + +.include <bsd.test.mk> |