> From: Bruce Richardson [mailto:bruce.richard...@intel.com] > Sent: Friday, 15 December 2023 14.07 > > Sometimes it can be nice to have autotests which can take a parameter, > or can be tweaked in some ways, e.g. adjust the number of iterations, > or > the burst size used in the test. Currently there is no way to do so - > all test parameters are hardcoded, which makes sense for a generic > regression test to be run quickly, but is a bit lacking for those > looking to use unit tests for investigations. > > To that end, we can all the commandline to accept an additional string > parameter after each autotest name, and make that available via global > variable. Any test which wishes to make use of this can do so, to allow > overriding test defaults. > > Signed-off-by: Bruce Richardson <bruce.richard...@intel.com> > ---
This would be useful for the mempool perf test. :-) It would be nice standardizing on a parameter syntax, though. Preferably: <param> ["=" <value>] {" " <param> ["=" <value>]} Acked-by: Morten Brørup <m...@smartsharesystems.com>