[PATCH 1/3] Add support for table-driven testing.

2013-09-10 Thread Sam Spilsbury
The new TEST_P macro takes a function name and a "data" argument to point to an arbitrary array of known size of test data. This allows multiple tests to be run with different datasets. The array is stored as a void * but advanced by a known size on each iteration. The data for each invocation of

RE: [PATCH 1/3] Add support for table-driven testing.

2013-09-10 Thread Eoff, Ullysses A
> -Original Message- > From: Sam Spilsbury [mailto:smspil...@gmail.com] > Sent: Tuesday, September 10, 2013 5:33 PM > To: Eoff, Ullysses A > Cc: wayland-devel@lists.freedesktop.org > Subject: Re: [PATCH 1/3] Add support for table-driven testing. > > Hi, > >

[PATCH 1/3] Add support for table-driven testing.

2013-09-10 Thread Sam Spilsbury
The new TEST_P macro takes a function name and a "data" argument to point to an arbitrary array of known size of test data. This allows multiple tests to be run with different datasets. The array is stored as a void * but advanced by a known size on each iteration. The data for each invocation of

Re: [PATCH 1/3] Add support for table-driven testing.

2013-09-10 Thread Sam Spilsbury
ehalf Of Sam > > Spilsbury > > Sent: Tuesday, September 10, 2013 9:15 AM > > To: wayland-devel@lists.freedesktop.org > > Cc: Sam Spilsbury > > Subject: [PATCH 1/3] Add support for table-driven testing. > > > > The new TEST_P macro takes a function name and

RE: [PATCH 1/3] Add support for table-driven testing.

2013-09-10 Thread Eoff, Ullysses A
gt; To: wayland-devel@lists.freedesktop.org > Cc: Sam Spilsbury > Subject: [PATCH 1/3] Add support for table-driven testing. > > The new TEST_P macro takes a function name and a "data" argument to > point to an arbitrary array of known size of test data. This allows > multiple test

[PATCH 1/3] Add support for table-driven testing.

2013-09-10 Thread Sam Spilsbury
The new TEST_P macro takes a function name and a "data" argument to point to an arbitrary array of known size of test data. This allows multiple tests to be run with different datasets. The array is stored as a void * but advanced by a known size on each iteration. The data for each invocation of