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-2024 Platon Technologies, s.r.o.           Index | Man stránky | tLDP | Dokumenty | Utilitky | O projekte
Design by styleshout