ctest
Verified for current stable LTS
Ctest Commands
Ctest command syntax with verified terminal examples.
Commands
5 commands for Ctest
ctest Operations
Ctest Command: Enable Output On Failure
ctest --output-on-failure ctest Search
Ctest Command: Filter Tests By Regex
ctest --output-on-failure -R '^<regex>$' ctest Operations
Ctest Command: List Available Tests
ctest -N ctest Operations
Ctest Command: Run All Tests Parallel
ctest -j <4> --output-on-failure ctest Search
Ctest Command: Run Single Test By Name
ctest --output-on-failure -R '^<test_name>$' Suggest a Ctest Command
Submit missing workflows, corrections, or verified alternatives for this tool.
FAQ
Coverage: Focused examples for common Ctest workflows.
Verified version: current stable LTS.
Verification: Test commands in a disposable workspace and submit notes for edge cases.