Changes between Version 26 and Version 27 of BuildingOnUnixWithCMake
- Timestamp:
- Oct 4, 2018, 7:13:23 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BuildingOnUnixWithCMake
v26 v27 71 71 == Test == 72 72 73 In CMake build system, testing capabilities are provided by [http://www.itk.org/Wiki/CTest:FAQ CTest] which is distributed together with CMake package.73 In the CMake build system, testing capabilities are provided by [http://www.itk.org/Wiki/CTest:FAQ CTest], which is distributed together with CMake. 74 74 75 After the build is ready, tests can be executed from inside ''BUILDDIR''. Natively, CMake uses target named ''test'':75 After the build is ready, tests can be executed from inside ''BUILDDIR''. Natively, CMake uses a target named ''test'': 76 76 77 77 {{{ … … 85 85 }}} 86 86 87 It is also possible to run ''ctest'' program directly, but not through any of the ''make'' targets. This option gives access to number of ''ctest'' command line options (''ctest --help''), for example:87 It is also possible to run the ''ctest'' program directly, without using a ''make'' target. This option gives access to a number of ''ctest'' command line options (see ''ctest --help'' for a listing). 88 88 89 89 {{{ … … 92 92 }}} 93 93 94 A list of test suites can be obtained by running ''ctest --show-only'':94 A list of GEOS test suites can be obtained by running ''ctest --show-only'': 95 95 96 96 {{{ … … 108 108 }}} 109 109 110 An subset of test suites can then be run using a regular expression: 111 110 A subset of test suites can then be run using a regular expression: 112 111 113 112 {{{