X-Git-Url: https://git.llucax.com/software/mutest.git/blobdiff_plain/75eb5c4a3edb32190187334ca9238b3b1ef2be39..ab22fdd3f1e817a4ab3a05d76366f14c06dfad6d:/sample/init_fail_test.c diff --git a/sample/init_fail_test.c b/sample/init_fail_test.c index c92bd7d..8fe74e3 100644 --- a/sample/init_fail_test.c +++ b/sample/init_fail_test.c @@ -1,11 +1,20 @@ +/* + * This file is part of mutest, a simple micro unit testing framework for C. + * + * mutest was written by Leandro Lucarella and is released + * under the BOLA license, please see the LICENSE file or visit: + * http://blitiri.com.ar/p/bola/ + * + * This is a dummy test suite that illustrates how a test suite initialization + * can fail. Each (public) function starting with mu_init will be picked up + * by mkmutest as an initialization function and executed unless one fails + * (returns != 0). Functions starting with mu_test will be used as test cases, + * but since an initialization function fails, none will be executed. + * + * Please, read the README file for more details. + */ -/* dummy test to illustrate how a test suite initialization could fail */ - -#ifdef MUTEST_PY -#include "../py/mutest.h" -#else #include "../mutest.h" -#endif static int ret = 0;