$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r74751 - trunk/libs/timer/test
From: bdawes_at_[hidden]
Date: 2011-10-06 08:09:01
Author: bemandawes
Date: 2011-10-06 08:09:00 EDT (Thu, 06 Oct 2011)
New Revision: 74751
URL: http://svn.boost.org/trac/boost/changeset/74751
Log:
Increase cpu_timer_test fuzz
Text files modified: 
   trunk/libs/timer/test/cpu_timer_test.cpp |     5 +++--                                   
   1 files changed, 3 insertions(+), 2 deletions(-)
Modified: trunk/libs/timer/test/cpu_timer_test.cpp
==============================================================================
--- trunk/libs/timer/test/cpu_timer_test.cpp	(original)
+++ trunk/libs/timer/test/cpu_timer_test.cpp	2011-10-06 08:09:00 EDT (Thu, 06 Oct 2011)
@@ -109,8 +109,9 @@
             "  the process in the interim, the test may fail. Thus no single failure\n"
             "  of this test is meaningful.\n";
 
-    BOOST_TEST(t.elapsed().wall / 1000000000.0L > (stop_time - start_time) * 0.95L);
-    BOOST_TEST(t.elapsed().wall / 1000000000.0L < (stop_time - start_time) * 1.05L);
+    //  These tests allow lots of fuzz to reduce false positives
+    BOOST_TEST(t.elapsed().wall / 1000000000.0L > (stop_time - start_time) * 0.75L);
+    BOOST_TEST(t.elapsed().wall / 1000000000.0L < (stop_time - start_time) * 1.25L);
 
     cout << "  C library consistency test complete" << endl; 
   }