|
Boost Users : |
Subject: [Boost-users] [Boost::Test] short form of catch_system_errors not working
From: Konstantin Kivi (konstantin.kivi_at_[hidden])
Date: 2018-03-25 19:24:26
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
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