Integrate TokuDB MTR tests

Registered by Laurynas Biveinis

Currently the MTR tests for TokuDB (all the tokudb,tokudb.* suites) require specific --mysqld= args so they work:

--mysqld=--plugin-load=tokudb=ha_tokudb.so;tokudb_trx=ha_tokudb.so;tokudb_locks=ha_tokudb.so;tokudb_lock_waits=ha_tokudb.so;tokudb_fractal_tree_info=ha_tokudb.so --mysqld=--loose-tokudb-check-jemalloc=0

And this is for in-source builds only, and NOAR tests are disabled by an extra --skip-test arg.

This should be replaced by adding a TokuDB line in mysql-test/include/plugin.defs, rewriting mysql-test/include/have_tokudb.inc to check for the presence of plugin rather than the SE directly, and adding suite.opt plugin-loading option files to the suites above.

This will allow MTR --suite=tokudb,tokudb.bugs,etc. to work out of the box.

At the same time
- ensure that any TokuDB test skips itself properly when TokuDB is not built. This is mostly ensured already by --include have/tokudb.inc, but some tests have option files with TokuDB-specific options, and those fail at startup before skipping themselves;
- triage tests to add big-test flag as needed;
- merge tokudb.supp with valgrind.supp.

See also : https://tokutek.atlassian.net/browse/DB-881
https://github.com/percona/percona-server/pull/172

Blueprint information

Status:
Complete
Approver:
Laurynas Biveinis
Priority:
High
Drafter:
Laurynas Biveinis
Direction:
Approved
Assignee:
Laurynas Biveinis
Definition:
Approved
Series goal:
Accepted for 5.6
Implementation:
Implemented
Milestone target:
milestone icon 5.6.27-75.0
Started by
Laurynas Biveinis
Completed by
Laurynas Biveinis
(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.