System Grab Bag

View all TLDR pages from common (or from all pages)

ctest

CMake test driver program. More information: https://gitlab.kitware.com/cmake/community/wikis/doc/ctest/Testing-With-CTest.
  • Run all tests defined in the CMake project, executing 4 jobs at a time in parallel:
    ctest -j{{4}} --output-on-failure
  • Show a list of available tests:
    ctest -N
  • Run a single test based on its name, or filter on a regular expression:
    ctest --output-on-failure -R '^{{test_name}}$'

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.