Boost C++ Libraries: Ticket #4246: [value_init] Please replace Boost Test ("minimal.hpp") by lightweight_test https://svn.boost.org/trac10/ticket/4246 <p> At the moment, Boost Test has regression failures on various compilers, including IBM V11.1, Sun 5.10, MINGW-4.3.3, and Borland 6.2.1 (Codegear, Embarcadero). In utility/value_init_test.cpp, the following line triggers compile errors on those compilers: </p> <pre class="wiki">#include "boost/test/minimal.hpp" </pre><p> I think we should not continue resolving value_init issues like <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3869" title="#3869: Bugs: Unconditional call to memset in value_initialized() (closed: fixed)">#3869</a> until "value_init_test" is colored entirely green again at <a href="http://www.boost.org/development/tests/trunk/developer/utility_.html">http://www.boost.org/development/tests/trunk/developer/utility_.html</a> </p> <p> It seems to me that Borland is fundamentally broken in this case. In the past, Boost Test compiled well on Borland, but nowadays it has become too hard to swallow for Borland. For example, because it now depends on boost::exception. Boost Exception does not have enough support for Borland (ticket <a class="new ticket" href="https://svn.boost.org/trac10/ticket/4068" title="#4068: Patches: Borland also needs private/public workaround in boost::exception (new)">#4068</a>). </p> <p> Therefor I'm proposing to switch from Boost Test to the lightweight test library by Peter Dimov: <a class="ext-link" href="http://svn.boost.org/svn/boost/trunk/boost/detail/lightweight_test.hpp"><span class="icon">​</span>http://svn.boost.org/svn/boost/trunk/boost/detail/lightweight_test.hpp</a> </p> <p> I would like to do so for <a class="ext-link" href="http://svn.boost.org/svn/boost/trunk/libs/utility/value_init_test.cpp"><span class="icon">​</span>http://svn.boost.org/svn/boost/trunk/libs/utility/value_init_test.cpp</a> according to the attached patch. </p> <p> Fernando, do you agree? </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/4246 Trac 1.4.3 niels_dekker Sat, 22 May 2010 10:42:43 GMT attachment set https://svn.boost.org/trac10/ticket/4246 https://svn.boost.org/trac10/ticket/4246 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">value_init_lightweight_test.patch</span> </li> </ul> Ticket niels_dekker Sat, 22 May 2010 22:06:02 GMT <link>https://svn.boost.org/trac10/ticket/4246#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/4246#comment:1</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/62158" title="value_init_test now uses lightweight_test by Peter Dimov; see #4246. ...">[62158]</a>) value_init_test now uses lightweight_test by Peter Dimov; see <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/4246" title="#4246: Bugs: [value_init] Please replace Boost Test (&#34;minimal.hpp&#34;) by lightweight_test (closed: fixed)">#4246</a>. Fernando Cacciola mailed me he agreed as well. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>viboes</dc:creator> <pubDate>Sun, 03 Jun 2012 20:36:19 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/4246#comment:2 https://svn.boost.org/trac10/ticket/4246#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> Closed as for description it is already fixed. </p> Ticket