Re: [Boost-bugs] [Boost C++ Libraries] #9944: Regression test relies on undefined compiler behavior

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9944: Regression test relies on undefined compiler behavior
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-04-24 15:06:48


#9944: Regression test relies on undefined compiler behavior
-------------------------------+--------------------------------
  Reporter: chris.cooper@… | Owner: grafik
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: Regression Testing
   Version: Boost 1.54.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+--------------------------------

Comment (by chris.cooper@…):

 Kim Barrett suggested using boost::integer_traits<Number>::const_min /
 const_max

 It's not entirely clear what this file (numeric_traits_test.cpp) is
 testing - there is so much template stuff at the top, and then it looks
 like a lot of the tests are simply verifying that the templates work.
 There is data sent to std::cout which is perhaps helpful to developers,
 but not in an automated regression test. It appears the only thing that
 it tests (from an automated test point of view) is
 boost::detail::numeric_distance()?

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9944#comment:2>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:16 UTC