Documentation Home
MySQL Internals Manual

MySQL Internals Manual  /  ...  /  Running with Visual Studio or Xcode Projects

4.5.2 Running with Visual Studio or Xcode Projects

If you build with Xcode and you build more than a single configuration (for example, Debug and RelWithDebInfo), set the MTR_VS_CONFIG=cmake_configuration_name environment variable to run tests for a specific configuration. The name of the variable (specifially, the VS part in it) reflects the fact that it was implemented for Visual Studio originally. When many configurations are built, MTR prefers Release or RelWithDebInfo. To run a debug configuration, change locaton to the mysql-test directory under your build directory and run

  • Mac OS X

    cd mysql-test
    MTR_VS_CONFIG=Debug perl options
  • Windows

    cd mysql-test
    set MTR_VS_CONFIG=Debug
    perl options