Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r82748 - in trunk/libs/test/test: . test_files
From: gennadiy.rozental_at_[hidden]
Date: 2013-02-06 20:26:14


Author: rogeeff
Date: 2013-02-05 04:22:23 EST (Tue, 05 Feb 2013)
New Revision: 82748
URL: http://svn.boost.org/trac/boost/changeset/82748

Log:
number of warnings/remarks cleaned up
Text files modified:
   trunk/libs/test/test/test_files/test_tools_test.pattern | 232 ++++++++++++++++++++--------------------
   trunk/libs/test/test/test_tools_test.cpp | 7
   2 files changed, 120 insertions(+), 119 deletions(-)

Modified: trunk/libs/test/test/test_files/test_tools_test.pattern
==============================================================================
--- trunk/libs/test/test/test_files/test_tools_test.pattern (original)
+++ trunk/libs/test/test/test_files/test_tools_test.pattern 2013-02-05 04:22:23 EST (Tue, 05 Feb 2013)
@@ -1,63 +1,63 @@
-154: warning: in "test_BOOST_WARN": condition sizeof(int) == sizeof(short) is not satisfied
-157: info: check sizeof(unsigned char) == sizeof(char) has passed
-179: error: in "test_BOOST_CHECK": check false has failed
-180: error: in "test_BOOST_CHECK": check 1==2 has failed
-181: error: in "test_BOOST_CHECK": check i==1 has failed
-184: info: check i==2 has passed
-191: error: in "test_BOOST_REQUIRE": not aborted
-193: fatal error: in "test_BOOST_REQUIRE": critical check false has failed
-197: fatal error: in "test_BOOST_REQUIRE": critical check j > 5 has failed
-200: info: check j < 5 has passed
-200: error: in "test_BOOST_REQUIRE": not aborted
-214: info: check 'object size 33 is too small' has passed
-231: error: in "test_BOOST_CHECK_MESSAGE": Well, may be that what I believe in
-233: error: in "test_BOOST_CHECK_MESSAGE": Checking predicate failed. Some explanation
-236: info: check 'Could it fail?' has passed
-241: error: in "test_BOOST_CHECK_MESSAGE": Comparing 1 and 2: some explanation
-248: fatal error: in "test_BOOST_REQUIRE_MESSAGE": Here we should stop
-251: info: check 'That's OK' has passed
-251: error: in "test_BOOST_REQUIRE_MESSAGE": not aborted
-258: error: in "test_BOOST_ERROR": Fail to miss an error
-265: fatal error: in "test_BOOST_FAIL": No! No! Show must go on.
-281: error: in "test_BOOST_CHECK_THROW": exception my_exception is expected
-284: warning: in "test_BOOST_CHECK_THROW": exception my_exception is expected
-287: fatal error: in "test_BOOST_CHECK_THROW": exception my_exception is expected
-293: info: check 'exception my_exception is caught' has passed
-300: error: in "test_BOOST_CHECK_EXCEPTION": incorrect exception my_exception is caught
-303: info: check 'incorrect exception my_exception is caught' has passed
-315: error: in "test_BOOST_CHECK_NO_THROW": exception thrown by throw my_exception()
-361: error: in "test_BOOST_CHECK_EQUAL": check i == j has failed [1 != 2]
-367: error: in "test_BOOST_CHECK_EQUAL": check str1 == str2 has failed [test1 != test12]
-370: error: in "test_BOOST_CHECK_EQUAL": check i+1 == j has failed [4 != 2]
-373: info: check str1 == str3+1 has passed
-382: fatal error: in "test_BOOST_CHECK_EQUAL": critical check str1 == str2 has failed [test != null string]
-388: warning: in "test_BOOST_CHECK_EQUAL": condition b1 == b2 is not satisfied [B(1) != B(2)]
-394: error: in "test_BOOST_CHECK_EQUAL": check c1 == c3 has failed [C(0,100) != C(1,102)]. Index mismatch
-395: error: in "test_BOOST_CHECK_EQUAL": check c1 == c2 has failed [C(0,100) != C(0,101)]. Id mismatch
-399: error: in "test_BOOST_CHECK_EQUAL": check ch1 == ch2 has failed [0xfffffffe != 0xfffffffd]
-410: error: in "test_BOOST_CHECK_LOGICAL_EXPR": check ++i != j has failed [2 == 2]
-412: error: in "test_BOOST_CHECK_LOGICAL_EXPR": check i < j has failed [2 >= 2]
-413: error: in "test_BOOST_CHECK_LOGICAL_EXPR": check i > j has failed [2 <= 2]
-420: error: in "test_BOOST_CHECK_LOGICAL_EXPR": check i <= j has failed [3 > 2]
-421: error: in "test_BOOST_CHECK_LOGICAL_EXPR": check j >= i has failed [2 < 3]
-426: error: in "test_BOOST_CHECK_LOGICAL_EXPR": check str1 != str2 has failed [test1 == test1]
-456: error: in "test_BOOST_CHECK_PREDICATE": check is_even( i ) has failed for ( 17 )
-459: error: in "test_BOOST_CHECK_PREDICATE": check not_equal_to<int>()( i, 17 ) has failed for ( 17, 17 )
-465: warning: in "test_BOOST_CHECK_PREDICATE": condition moo( 12, i, j ) is not satisfied for ( 12, 17, 15 )
-473: error: in "test_BOOST_CHECK_PREDICATE": check compare_lists( l1, l2 ) has failed for ( , ). Different sizes [2!=0]
-484: error: in "test_BOOST_REQUIRE_PREDICATE": not aborted
-486: fatal error: in "test_BOOST_REQUIRE_PREDICATE": critical check less_equal<int>()( arg2, arg1 ) has failed for ( 2, 1 )
-507: error: in "test_BOOST_CHECK_EQUAL_COLLECTIONS": check { testlist.begin(), testlist.end() } == { pattern, pattern+7 } has failed.
+155: warning: in "test_BOOST_WARN": condition sizeof(int) == sizeof(short) is not satisfied
+158: info: check sizeof(unsigned char) == sizeof(char) has passed
+180: error: in "test_BOOST_CHECK": check false has failed
+181: error: in "test_BOOST_CHECK": check 1==2 has failed
+182: error: in "test_BOOST_CHECK": check i==1 has failed
+185: info: check i==2 has passed
+192: error: in "test_BOOST_REQUIRE": not aborted
+194: fatal error: in "test_BOOST_REQUIRE": critical check false has failed
+198: fatal error: in "test_BOOST_REQUIRE": critical check j > 5 has failed
+201: info: check j < 5 has passed
+201: error: in "test_BOOST_REQUIRE": not aborted
+215: info: check 'object size 33 is too small' has passed
+232: error: in "test_BOOST_CHECK_MESSAGE": Well, may be that what I believe in
+234: error: in "test_BOOST_CHECK_MESSAGE": Checking predicate failed. Some explanation
+237: info: check 'Could it fail?' has passed
+242: error: in "test_BOOST_CHECK_MESSAGE": Comparing 1 and 2: some explanation
+249: fatal error: in "test_BOOST_REQUIRE_MESSAGE": Here we should stop
+252: info: check 'That's OK' has passed
+252: error: in "test_BOOST_REQUIRE_MESSAGE": not aborted
+259: error: in "test_BOOST_ERROR": Fail to miss an error
+266: fatal error: in "test_BOOST_FAIL": No! No! Show must go on.
+282: error: in "test_BOOST_CHECK_THROW": exception my_exception is expected
+285: warning: in "test_BOOST_CHECK_THROW": exception my_exception is expected
+288: fatal error: in "test_BOOST_CHECK_THROW": exception my_exception is expected
+294: info: check 'exception my_exception is caught' has passed
+301: error: in "test_BOOST_CHECK_EXCEPTION": incorrect exception my_exception is caught
+304: info: check 'incorrect exception my_exception is caught' has passed
+316: error: in "test_BOOST_CHECK_NO_THROW": exception thrown by throw my_exception()
+362: error: in "test_BOOST_CHECK_EQUAL": check i == j has failed [1 != 2]
+368: error: in "test_BOOST_CHECK_EQUAL": check str1 == str2 has failed [test1 != test12]
+371: error: in "test_BOOST_CHECK_EQUAL": check i+1 == j has failed [4 != 2]
+374: info: check str1 == str3+1 has passed
+383: fatal error: in "test_BOOST_CHECK_EQUAL": critical check str1 == str2 has failed [test != null string]
+389: warning: in "test_BOOST_CHECK_EQUAL": condition b1 == b2 is not satisfied [B(1) != B(2)]
+395: error: in "test_BOOST_CHECK_EQUAL": check c1 == c3 has failed [C(0,100) != C(1,102)]. Index mismatch
+396: error: in "test_BOOST_CHECK_EQUAL": check c1 == c2 has failed [C(0,100) != C(0,101)]. Id mismatch
+400: error: in "test_BOOST_CHECK_EQUAL": check ch1 == ch2 has failed [0xfffffffe != 0xfffffffd]
+411: error: in "test_BOOST_CHECK_LOGICAL_EXPR": check ++i != j has failed [2 == 2]
+413: error: in "test_BOOST_CHECK_LOGICAL_EXPR": check i < j has failed [2 >= 2]
+414: error: in "test_BOOST_CHECK_LOGICAL_EXPR": check i > j has failed [2 <= 2]
+421: error: in "test_BOOST_CHECK_LOGICAL_EXPR": check i <= j has failed [3 > 2]
+422: error: in "test_BOOST_CHECK_LOGICAL_EXPR": check j >= i has failed [2 < 3]
+427: error: in "test_BOOST_CHECK_LOGICAL_EXPR": check str1 != str2 has failed [test1 == test1]
+457: error: in "test_BOOST_CHECK_PREDICATE": check is_even( i ) has failed for ( 17 )
+460: error: in "test_BOOST_CHECK_PREDICATE": check not_equal_to<int>()( i, 17 ) has failed for ( 17, 17 )
+466: warning: in "test_BOOST_CHECK_PREDICATE": condition moo( 12, i, j ) is not satisfied for ( 12, 17, 15 )
+474: error: in "test_BOOST_CHECK_PREDICATE": check compare_lists( l1, l2 ) has failed for ( , ). Different sizes [2!=0]
+485: error: in "test_BOOST_REQUIRE_PREDICATE": not aborted
+487: fatal error: in "test_BOOST_REQUIRE_PREDICATE": critical check less_equal<int>()( arg2, arg1 ) has failed for ( 2, 1 )
+508: error: in "test_BOOST_CHECK_EQUAL_COLLECTIONS": check { testlist.begin(), testlist.end() } == { pattern, pattern+7 } has failed.
 Mismatch in a position 2: 4 != 3
 Mismatch in a position 5: 7 != 6
-508: error: in "test_BOOST_CHECK_EQUAL_COLLECTIONS": check { testlist.begin(), testlist.end() } == { pattern, pattern+2 } has failed.
+509: error: in "test_BOOST_CHECK_EQUAL_COLLECTIONS": check { testlist.begin(), testlist.end() } == { pattern, pattern+2 } has failed.
 Collections size mismatch: 7 != 2
-517: error: in "test_BOOST_CHECK_BITWISE_EQUAL": check (char)0x06 =.= (char)0x16 has failed.
+518: error: in "test_BOOST_CHECK_BITWISE_EQUAL": check (char)0x06 =.= (char)0x16 has failed.
 Mismatch in a position 4
-520: warning: in "test_BOOST_CHECK_BITWISE_EQUAL": condition (char)0x26 =.= (char)0x04 is not satisfied.
+521: warning: in "test_BOOST_CHECK_BITWISE_EQUAL": condition (char)0x26 =.= (char)0x04 is not satisfied.
 Mismatch in a position 1
 Mismatch in a position 5
-523: fatal error: in "test_BOOST_CHECK_BITWISE_EQUAL": critical check (char)0x26 =.= (int)0x26 has failed.
+524: fatal error: in "test_BOOST_CHECK_BITWISE_EQUAL": critical check (char)0x26 =.= (int)0x26 has failed.
 Operands bit sizes mismatch: 8 != 32
 still testing
 1+1=2
@@ -66,97 +66,97 @@
 0x14
   20
 0: fatal error in "test_BOOST_TEST_CHECKPOINT": C string: some error
-558: last checkpoint: Going to do a silly things
+559: last checkpoint: Going to do a silly things
 0: fatal error in "test_BOOST_TEST_PASSPOINT": unknown type
-569: last checkpoint
-595: error: in "test_context_logging": check false has failed
+570: last checkpoint
+596: error: in "test_context_logging": check false has failed
 Failure occurred in a following context:
     some context
-599: error: in "test_context_logging": check false has failed
+600: error: in "test_context_logging": check false has failed
 Failure occurred in a following context:
     some more context: 12
-604: error: in "test_context_logging": check false has failed
+605: error: in "test_context_logging": check false has failed
 Failure occurred in a following context:
     info 1
     info 2
     info 3
-607: error: in "test_context_logging": check false has failed
+608: error: in "test_context_logging": check false has failed
 Failure occurred in a following context:
     some sticky context
-610: error: in "test_context_logging": check false has failed
+611: error: in "test_context_logging": check false has failed
 Failure occurred in a following context:
     some sticky context
     more context
-613: error: in "test_context_logging": check false has failed
+614: error: in "test_context_logging": check false has failed
 Failure occurred in a following context:
     some sticky context
     different subcontext
-617: error: in "test_context_logging": check false has failed
+618: error: in "test_context_logging": check false has failed
 Failure occurred in a following context:
     outer context
-620: error: in "test_context_logging": check false has failed
+621: error: in "test_context_logging": check false has failed
 Failure occurred in a following context:
     outer context
     inner context
-623: error: in "test_context_logging": check false has failed
+624: error: in "test_context_logging": check false has failed
 Failure occurred in a following context:
     outer context
-652: info: check true has passed
-653: error: in "test_BOOST_TEST_basic_arithmetic_op": check false has failed
-656: info: check bc has passed
-660: error: in "test_BOOST_TEST_basic_arithmetic_op": check i == 2 has failed [1 != 2]
-661: error: in "test_BOOST_TEST_basic_arithmetic_op": check i != 1 has failed [1 == 1]
-662: error: in "test_BOOST_TEST_basic_arithmetic_op": check i > 2 has failed [1 <= 2]
-663: error: in "test_BOOST_TEST_basic_arithmetic_op": check i < 1 has failed [1 >= 1]
-664: error: in "test_BOOST_TEST_basic_arithmetic_op": check i <= 0 has failed [1 > 0]
-665: error: in "test_BOOST_TEST_basic_arithmetic_op": check i >= 5 has failed [1 < 5]
-668: error: in "test_BOOST_TEST_basic_arithmetic_op": check i+j >= 5 has failed [1 + 2 < 5]
-669: error: in "test_BOOST_TEST_basic_arithmetic_op": check j-i == 2 has failed [2 - 1 != 2]
-672: error: in "test_BOOST_TEST_basic_arithmetic_op": check *p == 2 has failed [1 != 2]
-674: error: in "test_BOOST_TEST_basic_arithmetic_op": check j-*p == 0 has failed [2 - 1 != 0]
-676: info: check ( i > 5, true ) has passed
-680: error: in "test_BOOST_TEST_basic_arithmetic_op": check FooType() has failed [(bool)0 is false]
-681: error: in "test_BOOST_TEST_basic_arithmetic_op": check *F has failed [(bool)0 is false]
-682: error: in "test_BOOST_TEST_basic_arithmetic_op": check **F has failed [(bool)0 is false]
-683: error: in "test_BOOST_TEST_basic_arithmetic_op": check ***F has failed [(bool)0 is false]
-684: error: in "test_BOOST_TEST_basic_arithmetic_op": check &F > 100 has failed [10 <= 100]
-685: error: in "test_BOOST_TEST_basic_arithmetic_op": check &*F > 100 has failed [10 <= 100]
-687: error: in "test_BOOST_TEST_basic_arithmetic_op": check (i == 1) & (j == 1) has failed [true & false]
-688: error: in "test_BOOST_TEST_basic_arithmetic_op": check (i == 2) | (j == 1) has failed [false | false]
-690: error: in "test_BOOST_TEST_basic_arithmetic_op": check ( i == 1 && j == 1 ) has failed
-691: error: in "test_BOOST_TEST_basic_arithmetic_op": check ( i == 2 || j == 1 ) has failed
-695: info: check true has passed
-701: info: check true has passed
-703: error: in "test_BOOST_TEST_basic_arithmetic_op": This message reported instead including 1 and 2
-723: error: in "test_BOOST_TEST_collection_comp": check v <= l has failed.
+653: info: check true has passed
+654: error: in "test_BOOST_TEST_basic_arithmetic_op": check false has failed
+657: info: check bc has passed
+661: error: in "test_BOOST_TEST_basic_arithmetic_op": check i == 2 has failed [1 != 2]
+662: error: in "test_BOOST_TEST_basic_arithmetic_op": check i != 1 has failed [1 == 1]
+663: error: in "test_BOOST_TEST_basic_arithmetic_op": check i > 2 has failed [1 <= 2]
+664: error: in "test_BOOST_TEST_basic_arithmetic_op": check i < 1 has failed [1 >= 1]
+665: error: in "test_BOOST_TEST_basic_arithmetic_op": check i <= 0 has failed [1 > 0]
+666: error: in "test_BOOST_TEST_basic_arithmetic_op": check i >= 5 has failed [1 < 5]
+669: error: in "test_BOOST_TEST_basic_arithmetic_op": check i+j >= 5 has failed [1 + 2 < 5]
+670: error: in "test_BOOST_TEST_basic_arithmetic_op": check j-i == 2 has failed [2 - 1 != 2]
+673: error: in "test_BOOST_TEST_basic_arithmetic_op": check *p == 2 has failed [1 != 2]
+675: error: in "test_BOOST_TEST_basic_arithmetic_op": check j-*p == 0 has failed [2 - 1 != 0]
+677: info: check ( i > 5, true ) has passed
+681: error: in "test_BOOST_TEST_basic_arithmetic_op": check FooType() has failed [(bool)0 is false]
+682: error: in "test_BOOST_TEST_basic_arithmetic_op": check *F has failed [(bool)0 is false]
+683: error: in "test_BOOST_TEST_basic_arithmetic_op": check **F has failed [(bool)0 is false]
+684: error: in "test_BOOST_TEST_basic_arithmetic_op": check ***F has failed [(bool)0 is false]
+685: error: in "test_BOOST_TEST_basic_arithmetic_op": check &F > 100 has failed [10 <= 100]
+686: error: in "test_BOOST_TEST_basic_arithmetic_op": check &*F > 100 has failed [10 <= 100]
+688: error: in "test_BOOST_TEST_basic_arithmetic_op": check (i == 1) & (j == 1) has failed [true & false]
+689: error: in "test_BOOST_TEST_basic_arithmetic_op": check (i == 2) | (j == 1) has failed [false | false]
+691: error: in "test_BOOST_TEST_basic_arithmetic_op": check ( i == 1 && j == 1 ) has failed
+692: error: in "test_BOOST_TEST_basic_arithmetic_op": check ( i == 2 || j == 1 ) has failed
+696: info: check true has passed
+702: info: check true has passed
+704: error: in "test_BOOST_TEST_basic_arithmetic_op": This message reported instead including 1 and 2
+724: error: in "test_BOOST_TEST_collection_comp": check v <= l has failed.
 Mismatch in a position 2: 3 > 2
-724: error: in "test_BOOST_TEST_collection_comp": check v == l has failed.
+725: error: in "test_BOOST_TEST_collection_comp": check v == l has failed.
 Mismatch in a position 1: 2 != 3
 Mismatch in a position 2: 3 != 2
-745: error: in "test_BOOST_TEST_fpv_comp": check d1 == d2 has failed [1e-05 != 1e-05]
-747: error: in "test_BOOST_TEST_fpv_comp": check d1 == d2 has failed [1e-05 != 1e-05]. Relative difference exceeds tolerance [0.000908265 > 1e-07]
-749: error: in "test_BOOST_TEST_fpv_comp": check d1 != f1 has failed [1e-05 == 1.10000001e-05]. Relative difference is within tolerance [7.81041e-09 < 1e-07]
-753: error: in "test_BOOST_TEST_fpv_comp": check d1 > d2 has failed [1e-05 <= 1e-05]
-754: error: in "test_BOOST_TEST_fpv_comp": check d1+1./1e20 > d2 has failed [1e-05 + 1e-20 <= 1e-05]. Relative difference exceeds tolerance [0.000908265 > 1e-07]
-756: error: in "test_BOOST_TEST_fpv_comp": check d2 <= d1 has failed [1e-05 > 1e-05]. Relative difference exceeds tolerance [0.000909091 > 1e-07]
-759: error: in "test_BOOST_TEST_fpv_comp": check d1-1e-5 == 0. has failed [1e-05 - 1e-05 != 0]. Absolute value exceeds tolerance [|1e-06| > 1e-07]
-760: error: in "test_BOOST_TEST_fpv_comp": check d1-1e-5 != 0. has failed [1e-05 - 1e-05 == 0]. Absolute value is within tolerance [|1e-06| < 0.0001]
-761: error: in "test_BOOST_TEST_fpv_comp": check 0. != 1e-5-d1 has failed [0 == -1e-06]. Absolute value is within tolerance [|-1e-06| < 0.0001]
-762: error: in "test_BOOST_TEST_fpv_comp": check d2-1e-5 < 0. has failed [1e-05 - 1e-05 >= 0]. Absolute value exceeds tolerance [|1.01e-06| > 1e-06]
-805: error: in "test_BOOST_TEST_cstring_comp": check str1 == str2 has failed [test1 != test12]
-806: error: in "test_BOOST_TEST_cstring_comp": check str1 == str3 has failed [test1 != test2]
-807: error: in "test_BOOST_TEST_cstring_comp": check str3 == str2 has failed [test2 != test12]
-808: error: in "test_BOOST_TEST_cstring_comp": check str1 == str4 has failed [test1 != test3]
-809: error: in "test_BOOST_TEST_cstring_comp": check str3 == str4 has failed [test2 != test3]
-810: error: in "test_BOOST_TEST_cstring_comp": check str1 == str5 has failed [test1 != null string]
-812: error: in "test_BOOST_TEST_cstring_comp": check str1 != (str6+1) has failed [test1 == test1]
-813: error: in "test_BOOST_TEST_cstring_comp": check str5 != str5 has failed [null string == null string]
-815: error: in "test_BOOST_TEST_cstring_comp": check str3 < str1 has failed [test2 >= test1]
-816: error: in "test_BOOST_TEST_cstring_comp": check str1 >= str2 has failed [test1 < test12]
-827: error: in "test_BOOST_TEST_bitwise": check a == b has failed [171 != 136]. Bitwise comparison failed
+746: error: in "test_BOOST_TEST_fpv_comp": check d1 == d2 has failed [1e-05 != 1e-05]
+748: error: in "test_BOOST_TEST_fpv_comp": check d1 == d2 has failed [1e-05 != 1e-05]. Relative difference exceeds tolerance [0.000908265 > 1e-07]
+750: error: in "test_BOOST_TEST_fpv_comp": check d1 != f1 has failed [1e-05 == 1.10000001e-05]. Relative difference is within tolerance [7.81041e-09 < 1e-07]
+754: error: in "test_BOOST_TEST_fpv_comp": check d1 > d2 has failed [1e-05 <= 1e-05]
+755: error: in "test_BOOST_TEST_fpv_comp": check d1+1./1e20 > d2 has failed [1e-05 + 1e-20 <= 1e-05]. Relative difference exceeds tolerance [0.000908265 > 1e-07]
+757: error: in "test_BOOST_TEST_fpv_comp": check d2 <= d1 has failed [1e-05 > 1e-05]. Relative difference exceeds tolerance [0.000909091 > 1e-07]
+760: error: in "test_BOOST_TEST_fpv_comp": check d1-1e-5 == 0. has failed [1e-05 - 1e-05 != 0]. Absolute value exceeds tolerance [|1e-06| > 1e-07]
+761: error: in "test_BOOST_TEST_fpv_comp": check d1-1e-5 != 0. has failed [1e-05 - 1e-05 == 0]. Absolute value is within tolerance [|1e-06| < 0.0001]
+762: error: in "test_BOOST_TEST_fpv_comp": check 0. != 1e-5-d1 has failed [0 == -1e-06]. Absolute value is within tolerance [|-1e-06| < 0.0001]
+763: error: in "test_BOOST_TEST_fpv_comp": check d2-1e-5 < 0. has failed [1e-05 - 1e-05 >= 0]. Absolute value exceeds tolerance [|1.01e-06| > 1e-06]
+806: error: in "test_BOOST_TEST_cstring_comp": check str1 == str2 has failed [test1 != test12]
+807: error: in "test_BOOST_TEST_cstring_comp": check str1 == str3 has failed [test1 != test2]
+808: error: in "test_BOOST_TEST_cstring_comp": check str3 == str2 has failed [test2 != test12]
+809: error: in "test_BOOST_TEST_cstring_comp": check str1 == str4 has failed [test1 != test3]
+810: error: in "test_BOOST_TEST_cstring_comp": check str3 == str4 has failed [test2 != test3]
+811: error: in "test_BOOST_TEST_cstring_comp": check str1 == str5 has failed [test1 != null string]
+813: error: in "test_BOOST_TEST_cstring_comp": check str1 != (str6+1) has failed [test1 == test1]
+814: error: in "test_BOOST_TEST_cstring_comp": check str5 != str5 has failed [null string == null string]
+816: error: in "test_BOOST_TEST_cstring_comp": check str3 < str1 has failed [test2 >= test1]
+817: error: in "test_BOOST_TEST_cstring_comp": check str1 >= str2 has failed [test1 < test12]
+828: error: in "test_BOOST_TEST_bitwise": check a == b has failed [171 != 136]. Bitwise comparison failed
 Mismatch in a position 0
 Mismatch in a position 1
 Mismatch in a position 5
-828: error: in "test_BOOST_TEST_bitwise": check c == b has failed [138 != 136]. Bitwise comparison failed
+829: error: in "test_BOOST_TEST_bitwise": check c == b has failed [138 != 136]. Bitwise comparison failed
 Mismatch in a position 1
 Operands bit sizes mismatch: 16 != 32

Modified: trunk/libs/test/test/test_tools_test.cpp
==============================================================================
--- trunk/libs/test/test/test_tools_test.cpp (original)
+++ trunk/libs/test/test/test_tools_test.cpp 2013-02-05 04:22:23 EST (Tue, 05 Feb 2013)
@@ -93,7 +93,8 @@
 std::string match_file_name( "./test_files/test_tools_test.pattern" );
 std::string save_file_name( "test_tools_test.pattern" );
 
-tt::output_test_stream& ots()
+static tt::output_test_stream&
+ots()
 {
     static boost::shared_ptr<tt::output_test_stream> inst;
 
@@ -110,8 +111,8 @@
 //____________________________________________________________________________//
 
 #define TEST_CASE( name ) \
-void name ## _impl(); \
-void name ## _impl_defer(); \
+static void name ## _impl(); \
+static void name ## _impl_defer(); \
                                                                     \
 BOOST_AUTO_TEST_CASE( name ) \
 { \


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk