Opened 5 years ago

Closed 4 years 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 by Kohei Takahashi, 5 years ago

Component: Nonetest
Owner: set to Gennadiy Rozental

comment:2 by Raffi Enficiaud, 4 years ago

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

comment:3 by Raffi Enficiaud, 4 years ago

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