ctest

CMake test driver program. More information: https://gitlab.kitware.com/cmake/community/wikis/doc/ctest/Testing-With-CTest.

ctest -j4 --output-on-failure

ctest -N

ctest --output-on-failure -R '^test_name$'