mirror of
https://github.com/eosswedenorg/libantelope
synced 2026-06-16 03:34:56 +02:00
tests/base58/CMakeLists.txt: Use test function to define the tests.
This commit is contained in:
parent
47689bc621
commit
35c2c2fe79
1 changed files with 2 additions and 16 deletions
|
|
@ -1,17 +1,3 @@
|
|||
|
||||
add_executable(base58_encode_test base58_encode.cpp)
|
||||
target_link_libraries(base58_encode_test PRIVATE ${LIB_NAME})
|
||||
|
||||
add_executable(is_base58_test is_base58.cpp)
|
||||
target_link_libraries(is_base58_test PRIVATE ${LIB_NAME})
|
||||
|
||||
# define tests
|
||||
add_test(
|
||||
NAME base58_encode_test
|
||||
COMMAND $<TARGET_FILE:base58_encode_test>
|
||||
)
|
||||
|
||||
add_test(
|
||||
NAME is_base58_test
|
||||
COMMAND $<TARGET_FILE:is_base58_test>
|
||||
)
|
||||
test( base58_encode )
|
||||
test( is_base58 )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue