Testing MariaDB Connector/C
For testing MariaDB Connector/C, you need a running MariaDB server instance. Before you run the test suite, 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: