|
Boost : |
From: Hartmut Kaiser (hartmut.kaiser_at_[hidden])
Date: 2007-02-24 17:47:21
David Abrahams wrote:
> See libs/wave/test/testwave/cmd_line_utils.hpp
>
> This check will have no effect in a release mode test run,
> unless I'm missing something. I suggest using BOOST_TEST
> (boost/detail/lightweight_test) instead, but don't forget to return
> report_errors() from your main().
Agreed, I'm well aware of the differences.
The piece of code you're referring to is not meant to help in testing of the
library. The BOOST_ASSERT is in there as an aid of internal debugging I put
in during the writing of the test itself. It's ok for this to have no effect
in release mode.
Regrads Hartmut
>
> --
> Dave Abrahams
> Boost Consulting
> www.boost-consulting.com
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk