Documentation Home
MySQL Internals Manual
Download this Manual
EPUB - 0.8Mb


MySQL Internals Manual  /  ...  /  Running mysql-test-run.pl with Visual Studio or Xcode Projects

4.5.2 Running mysql-test-run.pl 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 mysql-test-run.pl:

  • Mac OS X

    cd mysql-test
    MTR_VS_CONFIG=Debug perl mysql-test-run.pl options
    
  • Windows

    cd mysql-test
    set MTR_VS_CONFIG=Debug
    perl mysql-test-run.pl options
    

User Comments
Sign Up Login You must be logged in to post a comment.