Re: [PATCH weston 03/10] tests: Add an xmalloc helper function

2015-05-12 Thread Pekka Paalanen
On Tue, 12 May 2015 09:08:41 +0200 Quentin Glidic wrote: > On 2015-05-12 06:49, Bryce Harrington wrote: > > On Mon, May 11, 2015 at 01:39:29PM +0300, Pekka Paalanen wrote: > >> Hi, > >> > >> so the motivation for this patch is to make alloc failures just exit > >> the process with EXIT_FAILURE th

Re: [PATCH weston 03/10] tests: Add an xmalloc helper function

2015-05-12 Thread id3
On 2015-05-12 06:49, Bryce Harrington wrote: > On Mon, May 11, 2015 at 01:39:29PM +0300, Pekka Paalanen wrote: >> Hi, >> >> so the motivation for this patch is to make alloc failures just exit >> the process with EXIT_FAILURE than calling abort()? Or is to stop >> relying on assert()? Or to add the

Re: [PATCH weston 03/10] tests: Add an xmalloc helper function

2015-05-11 Thread Bryce Harrington
On Mon, May 11, 2015 at 01:39:29PM +0300, Pekka Paalanen wrote: > On Wed, 6 May 2015 17:44:22 -0700 > Bryce Harrington wrote: > > > Signed-off-by: Bryce Harrington > > --- > > tests/weston-test-client-helper.c | 11 +++ > > tests/weston-test-client-helper.h | 16 ++-- > > 2

Re: [PATCH weston 03/10] tests: Add an xmalloc helper function

2015-05-11 Thread Pekka Paalanen
On Wed, 6 May 2015 17:44:22 -0700 Bryce Harrington wrote: > Signed-off-by: Bryce Harrington > --- > tests/weston-test-client-helper.c | 11 +++ > tests/weston-test-client-helper.h | 16 ++-- > 2 files changed, 21 insertions(+), 6 deletions(-) > > diff --git a/tests/weston-

[PATCH weston 03/10] tests: Add an xmalloc helper function

2015-05-06 Thread Bryce Harrington
Signed-off-by: Bryce Harrington --- tests/weston-test-client-helper.c | 11 +++ tests/weston-test-client-helper.h | 16 ++-- 2 files changed, 21 insertions(+), 6 deletions(-) diff --git a/tests/weston-test-client-helper.c b/tests/weston-test-client-helper.c index b05be83..54