We *really* need a development model change !

Alexandre Julliard julliard at winehq.com
Wed Jan 2 14:07:34 CST 2002


Francois Gouget <fgouget at free.fr> writes:

>    I am not sure about using asserts. In the case where one calls the
> same API ten times with different parameters, it would probably be
> better to still do all ten tests even if the second call fails. This way
> the developper debugging things immediately knows if just one aspect
> failed or if its everything. If we call assert as soon as one item fails
> we don't have the information of whether the rest still works or
> not.

Sure, it doesn't have to be the C library version of assert, it can be
an equivalent that continues execution and only sets the exit status
at the end.

-- 
Alexandre Julliard
julliard at winehq.com




More information about the wine-devel mailing list