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_USER
MYSQL_TEST_PASSWD
MYSQL_TEST_PORT
MYSQL_TEST_SOCKET
MYSQL_TEST_DB
(default test)
To run the test suite, execute ctest
from the
command line:
shell> ctest
User Comments
Add your own comment.