Alexandre Julliard <julli...@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.
What's wrong with using this code for all tests? And sorry, I don't see how I could utilize this in the ExitProcess test since I need to call ExitProcess with a not zero exit code and that code is currently used to report number of child failures to parent. -- Dmitry.