ctest
Verified for current stable LTS
Ctest Command: Run All Tests Parallel
Use for run all tests parallel with Ctest. Exact CLI syntax to run all tests parallel using Ctest.
When to use this: Use for run all tests parallel with Ctest.
Command Syntax
ctest -j <4> --output-on-failure ctest -j <4> --output-on-failure Command Breakdown
-j- Command Option
- Tool-specific option used by this command invocation.
--output-on-failure- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to run all tests parallel using Ctest.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Ctest Command: Enable Output On Failure
ctest --output-on-failure Ctest Command: Filter Tests By Regex ctest --output-on-failure -R '^<test_name>$' Ctest Command: List Available Tests ctest -N Ctest Command: Run Single Test By Name ctest --output-on-failure -R '^<test_name>$' Crane Copy Command: Set Maximum Concurrent Copies crane cp <source> <target> -j <int>