]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[test] Add a basic infrastructure for running self-tests
authorMichael Brown <mcb30@ipxe.org>
Wed, 12 Oct 2011 22:50:14 +0000 (23:50 +0100)
committerMichael Brown <mcb30@ipxe.org>
Fri, 14 Oct 2011 13:33:31 +0000 (14:33 +0100)
commiteac134f8dc592e665222e69c76ff4553d3a3f614
tree2b5f80584a8f7bb0c41eaefde69f555ff0496459
parentdc821ca96155121a2aa47b9d67aa4dc95d5068f4
[test] Add a basic infrastructure for running self-tests

This self-test mechanism is inspired by Perl's Test::Simple and
similar modules.  The aim is to encourage the use of self-tests by
making it as easy as possible to create self-test code

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/include/ipxe/test.h [new file with mode: 0644]
src/tests/test.c [new file with mode: 0644]