Boost logo

Boost :

From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2006-08-11 13:21:16


"Gennaro Prota" <gennaro_prota_at_[hidden]> wrote in message
news:km3id29penetbssgc0om8gps7b5pokioe0_at_4ax.com...
> Hi,
>
> I'd like to request a way to inform the test system whether I want a
> success message or not. The Inspect tool makes a good example: if the
> user just invokes <inspect --help> I do not want a "no errors
> detected" to be displayed at the end. However, if I really run the
> inspection and there are no errors I'd like to have the message. Of
> course BOOST_PRG_MON_CONFIRM can't do that. We could choose a
> particular bit in the cpp_main return value to carry the desired piece
> of information, but that's not something I would be proud of. What's
> the best solution in the context of the test framework?

The UTF supports --report_level=no, which will cause no confirmation message
to appear.

You could also use unit_test::results_reporter::set_level(
unit_test::NO_REPORT ) to update the report level programmatically.

Gennadiy


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk