|
Boost Users : |
Subject: Re: [Boost-users] [Boost::Test] short form of catch_system_errors not working
From: Raffi Enficiaud (raffi.enficiaud_at_[hidden])
Date: 2018-03-30 08:33:29
Le 25/03/2018 à 21:24, Konstantin Kivi via Boost-users a écrit :
> Occasionally I need a core dump if testing goes wrong.
> Boost test have the following option
> ------------
> Parameter: catch_system_errors
> Â Allows to switch between catching and ignoring system errors (signals).
> Â Command line formats:
> Â Â --[no_]catch_system_errors[=<boolean value>]
> Â Â -s[ <boolean value>]
> -------------------
> I never managed to get short options to work and has to search for a
> long option
> exact name.
>
> Neither '-s no', '-s false' , -sno with or without quotes are not
> accepted.
>
> examples
> -----
> $ test_app -s no
>
> Boost.Test WARNING: token "no" does not correspond to the Boost.Test
> argument
> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â and should be placed after all Boost.Test arguments
> and the -- separator.
> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â For example: test_app --random -- no
> ------
> $ test_app "-s no"
>
> Invalid separator for the parameter catch_system_errors in the argument
> -s no
>
> -----
>
> Is it a known bug?
>
> Best regards, Konstantin
>
Please create a ticket on trac and I'll look at this.
Thanks!
Raffi
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net