Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

27.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 scripts/mysql-test-run. All tests should succeed. If any do not, you should try to find out why and report the problem if this is a bug in MySQL. See Section 27.1.2.3, “How to Report Bugs in the MySQL Test Suite”.

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.


 
 
  Published under the terms of the GNU General Public License Design by Interspire