diff options
author | Julio Merino <jmmv@FreeBSD.org> | 2013-11-18 12:57:46 +0000 |
---|---|---|
committer | Julio Merino <jmmv@FreeBSD.org> | 2013-11-18 12:57:46 +0000 |
commit | 21203fdd065357693f0db5821b124eb878b868f6 (patch) | |
tree | cdb06951923fed83fc49de440045e1ce4e22d4aa /share/tests | |
parent | a2b5b37cb761f3faa2d1d2d9118d9b559aa48985 (diff) | |
download | src-21203fdd065357693f0db5821b124eb878b868f6.tar.gz src-21203fdd065357693f0db5821b124eb878b868f6.zip |
Add some sample test programs.
This change adds some sample test cases to share/examples/tests/
demonstrating the basic usage of the atf and plain interfaces.
These test programs are fully-functional and are installed as part
of the test suite, which guarantees that the sample code remains
correct. However, they currently mostly serve as a placeholder for
additional examples and may be incomplete (depending on how you
look at them). I will see what else can be useful while working on
documentation.
As a bonus, the addition of these tests exercise the *.test.mk files,
one of which (plain.test.mk) was not yet in use, and also demonstrates
that it's possible to mix different kinds of test programs into the
same test suite.
Approved by: rpaulo (mentor)
Notes
Notes:
svn path=/head/; revision=258299
Diffstat (limited to 'share/tests')
-rw-r--r-- | share/tests/Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/share/tests/Makefile b/share/tests/Makefile new file mode 100644 index 000000000000..2c6362193ab7 --- /dev/null +++ b/share/tests/Makefile @@ -0,0 +1,10 @@ +# $FreeBSD$ + +.include <bsd.own.mk> + +TESTSDIR= ${TESTSBASE}/share + +.PATH: ${.CURDIR:H:H}/tests +KYUAFILE= yes + +.include <bsd.test.mk> |