22.6.2. Testing MySQL Connector/C

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
Copyright © 2010-2020 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout