mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-22 21:36:11 +01:00
Went back to Catch 1.x behaviour for -d
-d takes "yes" or "no", rather than being a standalone flag option. The default is "defaultForReporter" so the previous change actually dropped some control.
This commit is contained in:
parent
28f11a7149
commit
3bc03cd617
@ -135,7 +135,7 @@ namespace Catch {
|
|||||||
+ Opt( setWarning, "warning name" )
|
+ Opt( setWarning, "warning name" )
|
||||||
["-w"]["--warn"]
|
["-w"]["--warn"]
|
||||||
( "enable warnings" )
|
( "enable warnings" )
|
||||||
+ Opt( [&]( bool ) { config.showDurations = ShowDurations::Always; } )
|
+ Opt( [&]( bool flag ) { config.showDurations = flag ? ShowDurations::Always : ShowDurations::Never; }, "yes|no" )
|
||||||
["-d"]["--durations"]
|
["-d"]["--durations"]
|
||||||
( "show test durations" )
|
( "show test durations" )
|
||||||
+ Opt( loadTestNamesFromFile, "filename" )
|
+ Opt( loadTestNamesFromFile, "filename" )
|
||||||
|
Loading…
Reference in New Issue
Block a user