5.4 Testing MySQL Connector/C

If you build MySQL Connector/C from source, you can use the instructions in this section to test it. The details of the test procedure depend on your MySQL Connector/C version, except that a running MySQL server instance must be available regardless of version.

To test MySQL Connector/C 6.1:

Use the mysql_client_test utility in the tests directory. For information about the MySQL Test Framework, see the manual available at http://dev.mysql.com/doc/mysqltest/2.0/en/.

To test MySQL Connector/C 6.0:

Use the ctest command. Before you run the test suite, specify the following environment variables:

To run the test suite, execute ctest from the command line:

shell> ctest