Running the MySQL Test Suite
............................
The test system consist of a test language interpreter (`mysqltest'), a
shell script to run all tests(`mysql-test-run'), the actual test cases
written in a special test language, and their expected results. To run
the test suite on your system after a build, type `make test' or
`mysql-test/mysql-test-run' from the source root. If you have
installed a binary distribution, `cd' to the install root (eg.
`/usr/local/mysql'), and do `scripts/mysql-test-run'. All tests should
succeed. If not, you should try to find out why and report the problem
if this is a bug in MySQL. Note:Reporting mysqltest bugs.
If you have a copy of `mysqld' running on the machine where you want to
run the test suite you do not have to stop it, as long as it is not
using ports `9306' and `9307'. If one of those ports is taken, you
should edit `mysql-test-run' and change the values of the master and/or
slave port to one that is available.
You can run one individual test case with `mysql-test/mysql-test-run
test_name'.
If one test fails, you should test running `mysql-test-run' with the
`--force' option to check if any other tests fails.