Simple C testing framework

Andriy Palamarchuk apa3a at yahoo.com
Wed Jan 9 10:29:11 CST 2002


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/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wt_helper.tar.gz
Type: application/x-gzip
Size: 25503 bytes
Desc: wt_helper.tar.gz
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20020109/445ba4df/wt_helper.tar.bin


More information about the wine-devel mailing list