diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-10-16 19:52:00 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-10-17 13:35:51 +0200 |
commit | 548323c87d2f11384023ae3b064d6eb793d23115 (patch) | |
tree | b9d4cd183c455220f5ee427377a96fdba4682899 | |
parent | 1cefd198da32d02ba7ae737866569dd56112158c (diff) |
lib/drmtest: Check that helper processes have died correctly
If the test gets stopped sometimes a helper process falls over.
We need to report this. Since we currently don't track helper
process to precisely we can't shut up the 2nd test failure messge.
This shouldn't happen anyway.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
-rw-r--r-- | lib/drmtest.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/drmtest.c b/lib/drmtest.c index 435a7458f..706357de4 100644 --- a/lib/drmtest.c +++ b/lib/drmtest.c @@ -1085,6 +1085,7 @@ void igt_stop_helper(struct igt_helper_process *proc) while (waitpid(proc->pid, &status, 0) == -1 && errno == -EINTR) ; + igt_assert(WIFSIGNALED(status) && WTERMSIG(status) == SIGQUIT); proc->running = false; |