Created tests/* subfolders
This commit is contained in:
parent
ca896b2c85
commit
19b6de0e24
10 changed files with 14 additions and 10 deletions
|
|
@ -322,16 +322,16 @@ add_executable( api tests/api.cpp )
|
||||||
target_link_libraries( api fc )
|
target_link_libraries( api fc )
|
||||||
|
|
||||||
if( ECC_IMPL STREQUAL secp256k1 )
|
if( ECC_IMPL STREQUAL secp256k1 )
|
||||||
add_executable( blind tests/all_tests.cpp tests/blind.cpp )
|
add_executable( blind tests/all_tests.cpp tests/crypto/blind.cpp )
|
||||||
target_link_libraries( blind fc )
|
target_link_libraries( blind fc )
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
include_directories( vendor/websocketpp )
|
include_directories( vendor/websocketpp )
|
||||||
|
|
||||||
add_executable( ntp_test tests/all_tests.cpp tests/ntp_test.cpp )
|
add_executable( ntp_test tests/all_tests.cpp tests/network/ntp_test.cpp )
|
||||||
target_link_libraries( ntp_test fc )
|
target_link_libraries( ntp_test fc )
|
||||||
|
|
||||||
add_executable( task_cancel_test tests/all_tests.cpp tests/task_cancel.cpp )
|
add_executable( task_cancel_test tests/all_tests.cpp tests/thread/task_cancel.cpp )
|
||||||
target_link_libraries( task_cancel_test fc )
|
target_link_libraries( task_cancel_test fc )
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -348,7 +348,7 @@ target_link_libraries( udt_server fc udt )
|
||||||
add_executable( udt_client tests/udtc.cpp )
|
add_executable( udt_client tests/udtc.cpp )
|
||||||
target_link_libraries( udt_client fc udt )
|
target_link_libraries( udt_client fc udt )
|
||||||
|
|
||||||
add_executable( ecc_test tests/ecc_test.cpp )
|
add_executable( ecc_test tests/crypto/ecc_test.cpp )
|
||||||
target_link_libraries( ecc_test fc )
|
target_link_libraries( ecc_test fc )
|
||||||
|
|
||||||
#add_executable( test_aes tests/aes_test.cpp )
|
#add_executable( test_aes tests/aes_test.cpp )
|
||||||
|
|
@ -358,11 +358,15 @@ target_link_libraries( ecc_test fc )
|
||||||
#add_executable( test_rate_limiting tests/rate_limiting.cpp )
|
#add_executable( test_rate_limiting tests/rate_limiting.cpp )
|
||||||
#target_link_libraries( test_rate_limiting fc )
|
#target_link_libraries( test_rate_limiting fc )
|
||||||
|
|
||||||
add_executable( all_tests tests/all_tests.cpp tests/blind.cpp
|
add_executable( all_tests tests/all_tests.cpp
|
||||||
|
tests/compress/compress.cpp
|
||||||
|
tests/crypto/aes_test.cpp
|
||||||
|
tests/crypto/blind.cpp
|
||||||
|
tests/network/ntp_test.cpp
|
||||||
|
tests/thread/task_cancel.cpp
|
||||||
tests/bloom_test.cpp
|
tests/bloom_test.cpp
|
||||||
tests/compress.cpp tests/ntp_test.cpp
|
|
||||||
tests/real128_test.cpp
|
tests/real128_test.cpp
|
||||||
tests/task_cancel.cpp )
|
)
|
||||||
target_link_libraries( all_tests fc )
|
target_link_libraries( all_tests fc )
|
||||||
|
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
|
|
|
||||||
|
|
@ -22,8 +22,8 @@ your system.
|
||||||
Testing
|
Testing
|
||||||
-------
|
-------
|
||||||
|
|
||||||
Type "make ecc_test" to build the ecc_test executable from tests/ecc_test.cpp
|
Type "make ecc_test" to build the ecc_test executable from
|
||||||
with the currently configured ECC implementation.
|
tests/crypto/ecc_test.cpp with the currently configured ECC implementation.
|
||||||
|
|
||||||
ecc_test expects two arguments:
|
ecc_test expects two arguments:
|
||||||
|
|
||||||
|
|
@ -38,6 +38,6 @@ If the file does exist, intermediate results from the current ECC backend
|
||||||
are compared with the file contents.
|
are compared with the file contents.
|
||||||
|
|
||||||
For a full round of interoperability testing, you can use the script
|
For a full round of interoperability testing, you can use the script
|
||||||
tests/ecc-interop.sh .
|
tests/crypto/ecc-interop.sh .
|
||||||
None of the test runs should produce any output.
|
None of the test runs should produce any output.
|
||||||
|
|
||||||
|
|
|
||||||
Binary file not shown.
Loading…
Reference in a new issue