Closed cryptozeny closed 5 years ago
another files
$ git grep "\bprintf\b" | grep tests.cpp
src/qt/test/paymentservertests.cpp: printf( "\n\n\n" );
src/qt/test/paymentservertests.cpp: printf( "%s =\n", "src/qt/test/paymentrequestdata.h/paymentrequest5_cert2_BASE64" );
src/qt/test/paymentservertests.cpp: printf( "***\n" );
src/qt/test/paymentservertests.cpp: printf( "%s\n", paymentrequest5_cert2_BASE64 );
src/qt/test/paymentservertests.cpp: printf( "***\n" );
src/qt/test/paymentservertests.cpp: printf( "\n\n\n" );
src/test/addrman_tests.cpp: printf("addr1 = %s\n", addr1.ToString().c_str());
src/test/addrman_tests.cpp: printf("source1 = %s\n", source1.ToString().c_str());
src/test/addrman_tests.cpp: printf("CAddrInfo(addr1, source1) = %s\n", CAddrInfo(addr1, source1).ToString().c_str());
src/test/addrman_tests.cpp: printf("info1 = %s\n", info1.ToString().c_str());
src/test/addrman_tests.cpp: printf("nKey1 = %s\n", nKey1.ToString().c_str());
src/test/addrman_tests.cpp: printf("info1.GetTriedBucket(nKey1) = %d\n", info1.GetTriedBucket(nKey1));
src/test/compress_tests.cpp: BOOST_CHECK(TestPair(2520000000*COIN, 0x96342600)); // 120x bitcoin // 21000000 * 120 = 2520000000 // $ printf "%x\n" 2520000000
src/test/key_tests.cpp: // for (int i = 0; i <= 9; i++) { printf("detsig[%d] = %d\n", i, detsig[i]); } // FIXME.SUGAR // SURE?
src/test/key_tests.cpp: // for (int i = 0; i <= 9; i++) { printf("detsig[%d] = %d\n", i, detsig[i]); } // FIXME.SUGAR // SURE?
src/test/key_tests.cpp: // for (int i = 0; i <= 9; i++) { printf("detsig[%d] = %d\n", i, detsig[i]); } // FIXME.SUGAR // SURE?
src/test/key_tests.cpp: // for (int i = 0; i <= 9; i++) { printf("detsig[%d] = %d\n", i, detsigc[i]); } // FIXME.SUGAR // SURE?
src/test/key_tests.cpp: // for (int i = 0; i <= 9; i++) { printf("detsig[%d] = %d\n", i, detsig[i]); } // FIXME.SUGAR // SURE?
src/test/key_tests.cpp: // for (int i = 0; i <= 9; i++) { printf("detsig[%d] = %d\n", i, detsigc[i]); } // FIXME.SUGAR // SURE?
$ git grep -l "\bprintf\b" | grep tests.cpp
src/qt/test/paymentservertests.cpp
src/test/addrman_tests.cpp
src/test/compress_tests.cpp
src/test/key_tests.cpp
$ ./src/test/test_sugarchain --log-level=none
Running 282 test cases...
addr1 = 250.1.1.1:7979
source1 = 250.1.1.1
CAddrInfo(addr1, source1) = 250.1.1.1:7979
info1 = 250.1.1.1:7979
nKey1 = 1bd164d5d22d98dc2b5720c02ca95f732d0cb60cfcb495378d07cce5f258f741
info1.GetTriedBucket(nKey1) = 14
*** No errors detected
$
$ ./src/test/test_sugarchain --log-level=none
Running 282 test cases...
*** No errors detected
resolved
https://github.com/cryptozeny/sugarchain-v0.16.3/blob/c2120ecb89ba9b5f42bd79f84b3dfcc82a633ead/src/test/addrman_tests.cpp#L425
remove this lines, because
test_sugarchain.exe
on win64 report this lines