misbehaving tests (was Re:winpos.c & module.c - minor ms-windows
compatibility)
Ferenc Wagner
wferi at afavant.elte.hu
Wed Mar 24 07:28:30 CST 2004
Boaz Harrosh <boaz at hishome.net> writes:
> Ferenc Wagner wrote:
>
>> It would be possible to enforce timeout to make the run
>> time bounded. Not implemented yet, but on the TODO list.
>> Have you got a better idea?
>
> On ms-windows with msvc++ I would have Just put an
> exception catchall handler and would catch 99.99% of
> possible exceptions.
I didn't make myself clear. The tests are separate
processes, they can only pause winetest by popping up a
dialog box and waiting for the user to close it. I tried
SetErrorMode (SEM_FAILCRITICALERRORS);
but this didn't help. If this worked we would need timeout
for looping tests only. Unfortunately I'm not a Windows
guru to solve this without much experimentation (or at all).
--
Feri.
More information about the wine-devel
mailing list