ctest

ctest

TLDR

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

>_ ctest -j[4] --output-on-failure
copy

Show a list of available tests

>_ ctest -N
copy

Run a single test based on its name, or filter on a regular expression

>_ ctest --output-on-failure -R '^[test_name]$'
copy

Copied to clipboard
free 100$ digital ocean credit