mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-10 17:36:11 +00:00
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>
This commit is contained in:
parent
1cefd198da
commit
548323c87d
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user