mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-12 02:16:17 +00:00
lib/drmtest: Print info when children died due to signals
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
8f5d541620
commit
a0aa8f1a2c
@ -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();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user