Commit a0aa8f1a authored by Daniel Vetter's avatar Daniel Vetter

lib/drmtest: Print info when children died due to signals

Signed-off-by: Daniel Vetter's avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent 8f5d5416
......@@ -1003,7 +1003,12 @@ void igt_waitchildren(void)
if (status != 0) {
if (WIFEXITED(status))
igt_fail(WEXITSTATUS(status));
else
else if (WIFSIGNALED(status)) {
printf("child %i died with signal %i, %s\n",
nc, WTERMSIG(status),
strsignal(WTERMSIG(status)));
igt_fail(99);
} else
abort();
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment