mirror of
https://github.com/eosswedenorg/libantelope
synced 2026-06-18 20:40:03 +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)
|
test( base58_encode )
|
||||||
target_link_libraries(base58_encode_test PRIVATE ${LIB_NAME})
|
test( is_base58 )
|
||||||
|
|
||||||
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>
|
|
||||||
)
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue