]> git.llucax.com Git - software/mutest.git/commit
Implement test suite initialization and termination
authorLeandro Lucarella <llucarella@integratech.com.ar>
Wed, 10 Dec 2008 15:51:54 +0000 (13:51 -0200)
committerLeandro Lucarella <llucarella@integratech.com.ar>
Fri, 12 Dec 2008 12:55:43 +0000 (10:55 -0200)
commit75eb5c4a3edb32190187334ca9238b3b1ef2be39
treeaeffc814e19adcc0e51178345c81ba3e072cf2db
parentca131d1f12146c2b2ff563e05468b4a0471f61b0
Implement test suite initialization and termination

This patch adds test suite initialization and termination support to both
C/bash and Python implementations.

Any exported function in a test suite that starts with "mu_init" is used
as an initialization function (returning 0 if the initialization
succeeded) and any function starting with "mu_term" is used as
a termination function. If initialization fails (any initialization
funtion fails), the test suite is skipped.
mkmutest
mutest.c
mutest.h
py/mutest
sample/.gitignore
sample/Makefile
sample/init_fail_test.c [new file with mode: 0644]
sample/sum_test.c