Messages in this thread | | | Date | Mon, 7 Sep 2015 14:36:54 +0200 | From | Jiri Olsa <> | Subject | Re: [PATCH 1/3] perf tests: Introduce iterator function for tests |
| |
On Sat, Sep 05, 2015 at 08:02:20PM +0100, Matt Fleming wrote: > From: Matt Fleming <matt.fleming@intel.com> > > 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 together and changes to the list of tests > doesn't require changes to the code using it. > > Cc: Peter Zijlstra <peterz@infradead.org> > Cc: Jiri Olsa <jolsa@redhat.com> > Cc: Arnaldo Carvalho de Melo <acme@redhat.com> > Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
thanks, jirka
| |