[2/5] include/wine/test.h: Report child process failures using shared memory.

Alexandre Julliard julliard at winehq.org
Thu Apr 11 05:05:09 CDT 2013


Dmitry Timoshkov <dmitry at baikal.ru> writes:

> Alexandre Julliard <julliard at winehq.org> wrote:
>
>> > As far as I can see ExitProcess returns 'failures' as the child process exit
>> > code, but variable 'failures' is not visible from the tests. Do you have a
>> > suggestion how to fix that?
>>
>> You need to report the status a different way. For instance you could
>> store it in a file.
>
> How does this one look like? (In theory this approach could be used
> to transfer other child process information to the parent).

Something like this would work, but it should be done in the test that
needs it, not in the generic code.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list