Skip to content

Commit

Permalink
Created tests/* subfolders
Browse files Browse the repository at this point in the history
  • Loading branch information
pmconrad committed Jul 27, 2015
1 parent ca896b2 commit 19b6de0
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 10 deletions.
18 changes: 11 additions & 7 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -322,16 +322,16 @@ add_executable( api tests/api.cpp )
target_link_libraries( api fc )

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 )
endif()

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 )

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 )


Expand All @@ -348,7 +348,7 @@ target_link_libraries( udt_server fc udt )
add_executable( udt_client tests/udtc.cpp )
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 )

#add_executable( test_aes tests/aes_test.cpp )
Expand All @@ -358,11 +358,15 @@ target_link_libraries( ecc_test fc )
#add_executable( test_rate_limiting tests/rate_limiting.cpp )
#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/compress.cpp tests/ntp_test.cpp
tests/real128_test.cpp
tests/task_cancel.cpp )
)
target_link_libraries( all_tests fc )

if(WIN32)
Expand Down
6 changes: 3 additions & 3 deletions README-ecc.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ your system.
Testing
-------

Type "make ecc_test" to build the ecc_test executable from tests/ecc_test.cpp
with the currently configured ECC implementation.
Type "make ecc_test" to build the ecc_test executable from
tests/crypto/ecc_test.cpp with the currently configured ECC implementation.

ecc_test expects two arguments:

Expand All @@ -38,6 +38,6 @@ If the file does exist, intermediate results from the current ECC backend
are compared with the file contents.

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.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file removed tests/ecc_test.interop.data
Binary file not shown.
File renamed without changes.
File renamed without changes.

0 comments on commit 19b6de0

Please sign in to comment.