Run-Unit-Test impl

Implements unittest_t.run_unittest.

Calls all unit test.  The calling sequence and list of unit tests must be managed manually - but the static test C-kern/test/static/call_all_unittest.sh checks that all unittest_UNIT are called.

Copyright

This program is free software.  You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details.

Author

© 2011 Jörg Seebohn

Files

C-kern/api/test/run/run_unittest.h

Header file of Run-Unit-Test.

C-kern/test/run/run_unittest.c

Implementation file Run-Unit-Test impl.

unittest_t

helper

execute

int run_unittest(void *argv)
Calls every registered unittest of the C-kern(el) system.
Offers function for calling every registered unit test.
Implements unittest_t.run_unittest.
Close