321648 |
28-Jul-2017 |
ngie |
MFC r320441:
share/examples/tests/Makefile: clean up example snippets/documentation
- TESTSDIR doesn't need to be specified after r289158. - Including bsd.own.mk isn't required since no MK_<foo> knobs are being manipulated. - TESTS_SUBDIRS should be written out in an append format, one entry per line, to provide a better, more conflict resistant example. |
291603 |
01-Dec-2015 |
ngie |
MFC r285118: r285118 (by jmmv):
Add missing shebang
Plain test programs are not preprocessed by the build system (as opposed to ATF test cases, which automatically gain a shebang pointing at atf-sh), so we must take care of providing the shebang ourselves.
I'm not sure why this was not causing problems with Kyua 0.11, but the upcoming 0.12 release chokes on this particular issue. |
258299 |
18-Nov-2013 |
jmmv |
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)
|