(mysql.info) running-mysqltest
Info Catalog
(mysql.info) mysql-test-suite
(mysql.info) mysql-test-suite
(mysql.info) extending-mysqltest
24.1.2.1 Running the MySQL Test Suite
.....................................
The test system consists 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 directory. If you have
installed a binary distribution, change location to the installation
root directory (for example, `/usr/local/mysql'), and run
`mysql-test/mysql-test-run'. All tests should succeed. If any do not,
you should try to find out why and report the problem if it indicates a
bug in MySQL. See 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' or `9307'. If either of those ports is taken, you
should edit `mysql-test-run' and change the values of the master 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 run `mysql-test-run' with the -force
option to check whether any other tests fail.
Info Catalog
(mysql.info) mysql-test-suite
(mysql.info) mysql-test-suite
(mysql.info) extending-mysqltest
automatically generated byinfo2html