Re: [PATCH 2 wayland] tests: detect if debugger is attached

2014-11-28 Thread Pekka Paalanen
On Fri, 28 Nov 2014 13:09:59 +0100 Marek Chalupa wrote: > Hi, > > Here it is used to suppress the timeout, which just kills the client during > debugging if you forget to turn it off. > Since it is just a way how to workaround forgetting of humans (read: me xD) > I think that I don't care about

Re: [PATCH 2 wayland] tests: detect if debugger is attached

2014-11-28 Thread Marek Chalupa
Hi, Here it is used to suppress the timeout, which just kills the client during debugging if you forget to turn it off. Since it is just a way how to workaround forgetting of humans (read: me xD) I think that I don't care about this patch much. If no-one else want this, I'm OK with rejecting this

Re: [PATCH 2 wayland] tests: detect if debugger is attached

2014-11-28 Thread Pekka Paalanen
On Wed, 19 Nov 2014 12:20:31 +0100 Marek Chalupa wrote: > Copy function from libinput/test/litest.c is_debugger_detached() > and use it in our test-runner. If debugger is attached, turn off > leak checks and timeouts automatically. > > Revision of libinput: 028513a0a723e97941c39c4aeb174331987239

[PATCH 2 wayland] tests: detect if debugger is attached

2014-11-19 Thread Marek Chalupa
Copy function from libinput/test/litest.c is_debugger_detached() and use it in our test-runner. If debugger is attached, turn off leak checks and timeouts automatically. Revision of libinput: 028513a0a723e97941c39c4aeb17433198723913 Signed-off-by: Marek Chalupa --- tests/test-runner.c | 43