diff options
-rw-r--r-- | lib/drmtest.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/drmtest.c b/lib/drmtest.c index 81c5fca9..b1ba7e79 100644 --- a/lib/drmtest.c +++ b/lib/drmtest.c @@ -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(); } } |