Re: [PATCH 2/4] Add support for table-driven testing.

2013-09-13 Thread Kristian Høgsberg
On Fri, Sep 13, 2013 at 10:01:20AM +0800, Sam Spilsbury wrote: > 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 advanc

[PATCH 2/4] Add support for table-driven testing.

2013-09-12 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

[PATCH 2/4] Add support for table-driven testing.

2013-09-12 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

[PATCH 2/4] Add support for table-driven testing.

2013-09-11 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