mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-26 11:47:31 +00:00
21203fdd06
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)
11 lines
133 B
Makefile
11 lines
133 B
Makefile
# $FreeBSD$
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
TESTSDIR= ${TESTSBASE}/share
|
|
|
|
.PATH: ${.CURDIR:H:H}/tests
|
|
KYUAFILE= yes
|
|
|
|
.include <bsd.test.mk>
|