mariadb/storage/tokudb/mysql-test
Michael Widenius 7335c6f2a4 Fixed failures in tokudb test cases
storage/tokudb/mysql-test/tokudb_bugs/r/5733_innodb.result:
  Speed up test
storage/tokudb/mysql-test/tokudb_bugs/r/5733_tokudb.result:
  Speed up test
  Fix results
storage/tokudb/mysql-test/tokudb_bugs/r/xa-6.result:
  Ensure that mysql.proc is properly closed
storage/tokudb/mysql-test/tokudb_bugs/t/5733_innodb.test:
  Speed up test
storage/tokudb/mysql-test/tokudb_bugs/t/5733_tokudb.test:
  Speed up test
  Accept both index and range scan for one query
storage/tokudb/mysql-test/tokudb_bugs/t/xa-6.test:
  Ensure that mysql.proc is properly closed
2014-01-24 14:30:19 +02:00
..
rpl don't run tokudb tests for --embedded by default 2013-12-15 15:55:15 +01:00
tokudb don't run tokudb tests for --embedded by default 2013-12-15 15:55:15 +01:00
tokudb_add_index don't run tokudb tests for --embedded by default 2013-12-15 15:55:15 +01:00
tokudb_alter_table don't run tokudb tests for --embedded by default 2013-12-15 15:55:15 +01:00
tokudb_bugs Fixed failures in tokudb test cases 2014-01-24 14:30:19 +02:00
tokudb_mariadb MDEV-5396 Assertion `Handlerton: r==0 ' failed (errno=0) on EXPLAIN with TokuDB tables 2013-12-17 17:26:54 +01:00
README.tokudb merge with git://github.com/Tokutek/ft-engine.git up to tokudb-7.0.4 2013-09-09 11:12:52 +02:00

The MySQL tests for TokuDB are divided into common tests and tests specific to a
particular MySQL distribution.

The tests that are common for all MySQL distributions can be found in the
svn:tokudb/mysql/tests/mysql-test directory.

The tests that are specific to a particular distribution can be found in that
distribution's mysql-test directory.  For example, tests that are specific to
MySQL 5.5.21 are found in the svn:tokudb/mysql.com/mysql-5.5.21/mysql-test directory.

When we run tests on a particular MySQL distribution, we run the union of the common
tests and the tests that are in that distributions mysql-test directory.  The union
is formed by overlaying the common tests with the distribution specific tests.  

Here is an example.  There are a bunch of alter table tests in that should be common
to all MySQL distributions.  These tests are in the 
svn:tokudb/mysql/tests/mysql-test/suite/tokudb.alter_table directory.
However, the ai_di.test has behaviour that is different on MySQL 5.5 than previous 
MySQL distributions.  There is another version of this test in the MySQL 5.5.21 source
directory.  This version replaces the common test since it has the same test name.

It is easy to disable a test.  Just add the test name to the "disabled.def" file in the
test directory.

We use the run.mysql.tests.bash script from the mysql/scripts directory to run the tests.