wine/test.h: Identify the process responsible for test summary lines.
commit873eace6e496a154f333426aeb2b3e0ad79ba44d
authorFrancois Gouget <fgouget@codeweavers.com>
Wed, 22 Feb 2017 14:33:21 +0000 (22 15:33 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 22 Feb 2017 15:45:22 +0000 (22 16:45 +0100)
tree606e16acc12d74f88a7d9e49989b482a4a63646f
parent46315d8d2776a904487d9374e98c53ae5572c67e
wine/test.h: Identify the process responsible for test summary lines.

Currently the child process summary lines are indistinguishable from the
main process one. This makes it impossible to automatically detect
when a process exits abruptly, i.e. without printing a summary line,
if it has run a subprocess.

This will let analysis tools identify which summary lines correspond to
processes they started and thus when some are missing.  Note also that
in case of a crash the 'unhandled exception' play the same role as the
test summary lines. Thus it is important to also tag them with the pid
of the source process.

Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
include/wine/test.h
programs/winetest/main.c