.TH ctest 1 "July 08, 2011" "ctest 2.8.5" .SH NAME .PP .nf ctest \- Testing driver provided by CMake. .fi .SH USAGE .PP .nf ctest [options] .fi .SH DESCRIPTION .PP The "ctest" executable is the CMake test driver program. CMake\-generated build trees created for projects that use the ENABLE_TESTING and ADD_TEST commands have testing support. This program will run the tests and report results. .SH OPTIONS .TP .B -C , --build-config Choose configuration to test. Some CMake\-generated build trees can have multiple build configurations in the same tree. This option can be used to specify which one should be tested. Example configurations are "Debug" and "Release". .TP .B -V,--verbose Enable verbose output from tests. Test output is normally suppressed and only summary information is displayed. This option will show all test output. .TP .B -VV,--extra-verbose Enable more verbose output from tests. Test output is normally suppressed and only summary information is displayed. This option will show even more test output. .TP .B --debug Displaying more verbose internals of CTest. This feature will result in large number of output that is mostly useful for debugging dashboard problems. .TP .B --output-on-failure Output anything outputted by the test program if the test should fail. This option can also be enabled by setting the environment variable CTEST_OUTPUT_ON_FAILURE .TP .B -F Enable failover. This option allows ctest to resume a test set execution that was previously interrupted. If no interruption occurred, the \-F option will have no effect. .TP .B -Q,--quiet Make ctest quiet. This option will suppress all the output. The output log file will still be generated if the \-\-output\-log is specified. Options such as \-\-verbose, \-\-extra\-verbose, and \-\-debug are ignored if \-\-quiet is specified. .TP .B -O , --output-log Output to log file This option tells ctest to write all its output to a log file. .TP .B -N,--show-only Disable actual execution of tests. This option tells ctest to list the tests that would be run but not actually run them. Useful in conjunction with the \-R and \-E options. .TP .B -L , --label-regex Run tests with labels matching regular expression. This option tells ctest to run only the tests whose labels match the given regular expression. .TP .B -R , --tests-regex Run tests matching regular expression. This option tells ctest to run only the tests whose names match the given regular expression. .TP .B -E , --exclude-regex Exclude tests matching regular expression. This option tells ctest to NOT run the tests whose names match the given regular expression. .TP .B -LE , --label-exclude Exclude tests with labels matching regular expression. This option tells ctest to NOT run the tests whose labels match the given regular expression. .TP .B -D , --dashboard Execute dashboard test This option tells ctest to perform act as a Dart client and perform a dashboard test. All tests are , where Mode can be Experimental, Nightly, and Continuous, and Test can be Start, Update, Configure, Build, Test, Coverage, and Submit. .TP .B -M , --test-model Sets the model for a dashboard This option tells ctest to act as a Dart client where the TestModel can be Experimental, Nightly, and Continuous. Combining \-M and \-T is similar to \-D .TP .B -T , --test-action Sets the dashboard action to perform This option tells ctest to act as a Dart client and perform some action such as start, build, test etc. Combining \-M and \-T is similar to \-D .TP .B --track Specify the track to submit dashboard to Submit dashboard to specified track instead of default one. By default, the dashboard is submitted to Nightly, Experimental, or Continuous track, but by specifying this option, the track can be arbitrary. .TP .B -S