Opened 9 months ago

Closed 5 months ago

#13504 closed Bugs (fixed)

[Boost::Test] short form of catch_system_errors not working

Reported by: konstantin.kivi@… Owned by: Raffi Enficiaud
Milestone: Boost 1.68.0 Component: test
Version: Boost 1.63.0 Severity: Problem
Keywords: Cc:

Description


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>]


short form ( -s ) doesn't work as described.

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

Change History (3)

comment:1 Changed 9 months ago by Kohei Takahashi

Component: Nonetest
Owner: set to Gennadiy Rozental

comment:2 Changed 6 months ago by Raffi Enficiaud

Milestone: To Be DeterminedBoost 1.68.0
Owner: changed from Gennadiy Rozental to Raffi Enficiaud
Status: newassigned

comment:3 Changed 5 months ago by Raffi Enficiaud

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.