Alexandre, attached is very simple framework which suits your testing model.
On any failure the framework prints an error message and exits with error code 1.
The framework features: * ok function - fails if condition is FALSE * conditional TODO sections - ok functions fail in TODO section if its condition is TRUE and TODO condition is TRUE. * get_w32_impl function which returns implementation of Win32 api the test is running on. In our case these are W32_MS, W32_WINE. Is used for conditional TODO
Andriy Palamarchuk
__________________________________________________ Do You Yahoo!? Send FREE video emails in Yahoo! Mail! http://promo.yahoo.com/videomail/