For testing MySQL Connector/C you will need a running MySQL server instance. Before you run the test suite you need to specify the following environment variables:
MYSQL_TEST_HOST(default localhost)MYSQL_TEST_USERMYSQL_TEST_PASSWDMYSQL_TEST_PORTMYSQL_TEST_SOCKETMYSQL_TEST_DB(default test)
To run the test suite, execute ctest from the
command line:
shell> ctest