Re: [PATCH xserver 4/7] test: Return error from simple-xinit if the client crashes.

2017-08-03 Thread Keith Packard
Eric Anholt writes: > I want to be able to call client tests with simple-xinit, so assertion > failures should be an error. > +if (WIFSIGNALED(wstatus)) > +return 1; > + > +if (WCOREDUMP(wstatus)) > +return 1; > + > +assert(WIFEXITED(wstatus)); >

[PATCH xserver 4/7] test: Return error from simple-xinit if the client crashes.

2017-08-03 Thread Eric Anholt
I want to be able to call client tests with simple-xinit, so assertion failures should be an error. Signed-off-by: Eric Anholt --- test/simple-xinit.c | 8 1 file changed, 8 insertions(+) diff --git a/test/simple-xinit.c b/test/simple-xinit.c index 89189a609c19..78d546c71e49 100644 ---