14 Sep
2018
14 Sep
'18
11:35 a.m.
...and what is the appropriate way to signal an error, such as a missing or unsupported command-line argument ? (All the examples in the docs I could find return '0', so another related question is: what is the meaning of the return value ?)
There is this exception you may throw:
https://www.boost.org/doc/libs/1_68_0/libs/test/doc/html/boost/unit_test/fra...
Again, this is not so well documented here:
https://www.boost.org/doc/libs/1_68_0/libs/test/doc/html/boost_test/adv_scen...
I assume throwing setup_error works only with the obsolete init_func? How would it be with the 'new' way described at the caution note on bottom of the last URL. Thanks, Olaf