catch3
Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.
Clonegit clone https://git.progmasoft.com/catch3
Tidied command line a little
- Commit
dc53c3a93f82627b9fca9040c18c4491da06799c- Author
- Phil Nash ·
- Parents
763d5c368a99
Changes
internal/catch_commandline.hpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/internal/catch_commandline.hpp b/internal/catch_commandline.hpp index a6f4adab..b2f199cd 100644 --- a/internal/catch_commandline.hpp +++ b/internal/catch_commandline.hpp @@ -18,14 +18,14 @@ namespace Catch { - // -l --list:tests [xml] lists available tests (optionally in xml) - // -l --list:reports [xml] lists available reports (optionally in xml) - // -l --list:all [xml] lists available tests and reports (optionally in xml) - // -t --test "testspec" (any number) - // -r --report <type> - // -o --output filename to write to - // -s --success report successful cases too - // -b --break breaks into debugger on test failure + // -l, --list tests [xml] lists available tests (optionally in xml) + // -l, --list reports [xml] lists available reports (optionally in xml) + // -l, --list all [xml] lists available tests and reports (optionally in xml) + // -t, --test "testspec" ["testspec", ...] + // -r, --report <type> + // -o, --out filename to write to + // -s, --success report successful cases too + // -b, --break breaks into debugger on test failure class ArgParser : NonCopyable { enum Mode @@ -57,7 +57,7 @@ namespace Catch changeMode( cmd, modeTest ); else if( cmd == "-r" || cmd == "--report" ) changeMode( cmd, modeReport ); - else if( cmd == "-o" || cmd == "--output" ) + else if( cmd == "-o" || cmd == "--out" ) changeMode( cmd, modeOutput ); else if( cmd == "-s" || cmd == "--success" ) changeMode( cmd, modeSuccess );