Re: [PATCH 1/3] perf tests: Introduce iterator function for tests

2015-09-07 Thread Jiri Olsa
On Sat, Sep 05, 2015 at 08:02:20PM +0100, Matt Fleming wrote: > From: Matt Fleming > > In preparation for introducing more arrays of tests, e.g. "arch tests" > (architecture-specific tests), abstract the code to iterate over the > list of tests into a helper function. > > This way, code that

Re: [PATCH 1/3] perf tests: Introduce iterator function for tests

2015-09-07 Thread Jiri Olsa
On Sat, Sep 05, 2015 at 08:02:20PM +0100, Matt Fleming wrote: > From: Matt Fleming > > In preparation for introducing more arrays of tests, e.g. "arch tests" > (architecture-specific tests), abstract the code to iterate over the > list of tests into a helper function. >

[PATCH 1/3] perf tests: Introduce iterator function for tests

2015-09-05 Thread Matt Fleming
From: Matt Fleming In preparation for introducing more arrays of tests, e.g. "arch tests" (architecture-specific tests), abstract the code to iterate over the list of tests into a helper function. This way, code that uses a 'struct test' doesn't need to worry about how the tests are grouped

[PATCH 1/3] perf tests: Introduce iterator function for tests

2015-09-05 Thread Matt Fleming
From: Matt Fleming In preparation for introducing more arrays of tests, e.g. "arch tests" (architecture-specific tests), abstract the code to iterate over the list of tests into a helper function. This way, code that uses a 'struct test' doesn't need to worry about how