Opened 7 years ago

Last modified 7 years ago

#11430 new Bugs

accumulators/p_square_cumul_dist runtime failure

Reported by: anonymous Owned by: Eric Niebler
Milestone: To Be Determined Component: accumulator
Version: Boost 1.58.0 Severity: Problem
Keywords: Cc:

Description

accumulators/p_square_cumul_dist runtime failure with g++-4.8.2 on solaris 11.2.

test result: ...

echo ====== BEGIN OUTPUT ====== cat "../../../bin.v2/libs/accumulators/test/p_square_cumul_dist.test/gcc-4.8.2/release/link-static/p_square_cumul_dist.output" echo ====== END OUTPUT ======

fi exit $status

BEGIN OUTPUT

Running 1 test case... p_square_cumul_dist.cpp(66): error in "test_stat": difference{3.166%} between 0.5 * (1.0 + my_erf( histogram[i].first / std::sqrt(2.0) )){0.010316599565214746} and histogram[i].second{0.01} exceeds 3% p_square_cumul_dist.cpp(66): error in "test_stat": difference{3.66597%} between 0.5 * (1.0 + my_erf( histogram[i].first / std::sqrt(2.0) )){0.020733193566368657} and histogram[i].second{0.02} exceeds 3% p_square_cumul_dist.cpp(66): error in "test_stat": difference{3.31687%} between 0.5 * (1.0 + my_erf( histogram[i].first / std::sqrt(2.0) )){0.030995060470952907} and histogram[i].second{0.029999999999999999} exceeds 3% p_square_cumul_dist.cpp(66): error in "test_stat": difference{3.04411%} between 0.5 * (1.0 + my_erf( histogram[i].first / std::sqrt(2.0) )){0.041217642957001199} and histogram[i].second{0.040000000000000001} exceeds 3%

* 4 failures detected in test suite "Master Test Suite"

EXIT STATUS: 201

END OUTPUT

Test failed with studio 12.4 as well with same error message

Change History (1)

comment:1 by Eric Niebler, 7 years ago

Please stop filing this bug. Long ago, something changed in Boost.Random and several Accumulator tests started failing. It's not actually a bug (I don't think), just a bad assumption in the test about tolerances and pseudo-random distribution. I've never had time to fix it. I should probably just comment this test out or mark it as a known failure.

Note: See TracTickets for help on using tickets.