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
> -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,
>
>
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
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
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
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