CmdID

CmdID / Commands

ctest

CMake test driver program. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Run all tests in the current CMake build directory

Run all tests defined in the CMake build directory, executing 4 jobs at a time in parallel

ctest --parallel 4Identify

Run all tests on all processor cores

ctest --parallelIdentify

Run all tests defined in the CMake build directory and print detailed logs on failed tests

ctest --output-on-failureIdentify

List available tests

ctest --show-onlyIdentify

Run a single test based on its name, or filter on a regex

ctest --output-on-failure --tests-regex '^test_name$'Identify