(mysql.info.gz) running mysqltest
Info Catalog
(mysql.info.gz) MySQL test suite
(mysql.info.gz) MySQL test suite
(mysql.info.gz) extending mysqltest
25.1.2.1 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. Reporting mysqltest bugs.
From MySQL 4.1 on, 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.
Before MySQL 4.1, `mysql-test-run' does not try to run its own server
by default but tries to use your currently running server. To override
this and cause `mysql-test-run' to start its own server, run it with
the `--local' option.
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 whether any other tests fail.
Info Catalog
(mysql.info.gz) MySQL test suite
(mysql.info.gz) MySQL test suite
(mysql.info.gz) extending mysqltest
automatically generated byinfo2html