Hi, Bjorn!
On Dec 16, Bjorn Munch wrote:
> #At file:///home/bm136801/my/genplug-55/ based on
> revid:bjorn.munch@stripped
>
> 3128 Bjorn Munch 2010-12-16
> Bug #58841 Generalise handling of plugins in MTR mysql-test-run.pl script
> Put descriptions of plugins into a separate file read by MTR
> MTR itself has generalised code to read this and set env. variables
> Removed the *SO variables, updated some tests accordingly
You may want to consider using the approach I took in mariadb tree -
plugins are found automatically and symlinked (or copied) into var/plugins.
For every plugin PLUGINNAME_SO is set to the plugin name. No separate
configuration file is needed.
The main benefit - one can load more than one plugin at once, as they
all are under the same plugin-dir.
If you'd like I can contribute this mtr change under sca.
Regards,
Sergei
other my mtr extensions that you may be interested in include
* support for suite.pm files
* extending my.cnf templating
* support for .opt files (e.g. include/have_innodb.opt, etc)