From 604cb435ec75494370fa92f32d6dc34c31f2930b Mon Sep 17 00:00:00 2001 From: Gennadiy Rozental Date: Tue, 5 Feb 2013 09:22:23 +0000 Subject: [PATCH] number of warnings/remarks cleaned up [SVN r82748] --- test/test_files/test_tools_test.pattern | 232 ++++++++++++------------ test/test_tools_test.cpp | 7 +- 2 files changed, 120 insertions(+), 119 deletions(-) diff --git a/test/test_files/test_tools_test.pattern b/test/test_files/test_tools_test.pattern index 83b5a81c..4833a545 100644 --- a/test/test_files/test_tools_test.pattern +++ b/test/test_files/test_tools_test.pattern @@ -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()( 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()( 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()( 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()( 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 @@ struct A 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 diff --git a/test/test_tools_test.cpp b/test/test_tools_test.cpp index 40cd00aa..1166cfc0 100644 --- a/test/test_tools_test.cpp +++ b/test/test_tools_test.cpp @@ -93,7 +93,8 @@ struct shorten_lf : public boost::unit_test::output::compiler_log_formatter 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 inst; @@ -110,8 +111,8 @@ tt::output_test_stream& ots() //____________________________________________________________________________// #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 ) \ { \