Re: running mysql-test-suite with a custom storage engine
Christoph Rupp <[email protected]> Thu, 30 Jun 2016 07:58:02 +0200
| Newsgroups | gmane.comp.db.mysql.devel |
|---|---|
| Message-ID | <CAE6Xdb4L6SBRMxen2AGRHgKZq8AXc2zO7RrBKd=QCLokrrTCAg@mail.gmail.com> |
Bjorn, adding --mysqld=--plugin_load=... works. Thanks for your help! Christoph 2016-06-29 15:42 GMT+02:00 Bjorn Munch <[email protected]>: > On 29/06 12.06, Christoph Rupp wrote: >> I'm trying to run the mysql-test-suite with my storage engine. I'm >> following the instructions in mysql-test-suite/suite/engine/README and >> start the suite like this: >> >> perl ./mysql-test-run.pl --suite=engines/funcs >> --mysqld=--default-storage-engine=upscaledb >> >> However, all tests fail because my storage engine cannot be loaded: >> >> 2016-06-28T10:57:42.326031Z 0 [ERROR] Unknown/unsupported storage >> engine: upscaledb > > If it's s plugin, you will also need to tell mysql-test-run how to > instruct the server to load the plugin. This is done by adding an > entry to mysql-test/include/plugin.defs (see the comments in that > file). Then your test needs a <test>-master.opt file with the server > options, see e.g. the test mysql-test/t/plugin_auth-master.opt for an > example. > > But if you want this to apply to an existing test suite then I think > you can best do this by adding those --plugin_dir= and --plugin_load= > as additional --mysqld= arguments. You have can multiple --mysqld= > arguments to MTR. > > - Bjorn Munch > > -- > MySQL Internals Mailing List > For list archives: http://lists.mysql.com/internals > To unsubscribe: http://lists.mysql.com/internals > -- MySQL Internals Mailing List For list archives: http://lists.mysql.com/internals To unsubscribe: http://lists.mysql.com/internals