Changeset View
Changeset View
Standalone View
Standalone View
src/test/CMakeLists.txt
Show First 20 Lines • Show All 150 Lines • ▼ Show 20 Lines | TESTS | ||||
validation_block_tests.cpp | validation_block_tests.cpp | ||||
validation_tests.cpp | validation_tests.cpp | ||||
work_comparator_tests.cpp | work_comparator_tests.cpp | ||||
# RPC Tests | # RPC Tests | ||||
../rpc/test/server_tests.cpp | ../rpc/test/server_tests.cpp | ||||
) | ) | ||||
if (TEST_WITH_UPGRADE_ACTIVATED) | |||||
add_test( | |||||
NAME | |||||
"bitcoin-upgrade-activated" | |||||
COMMAND | |||||
"test_bitcoin" | |||||
"--" | |||||
"-gravitonactivationtime=1573819200" | |||||
) | |||||
endif() | |||||
target_link_libraries(test_bitcoin rpcclient server) | target_link_libraries(test_bitcoin rpcclient server) | ||||
if(TARGET bitcoinconsensus-shared) | if(TARGET bitcoinconsensus-shared) | ||||
target_link_libraries(test_bitcoin bitcoinconsensus-shared) | target_link_libraries(test_bitcoin bitcoinconsensus-shared) | ||||
else() | else() | ||||
target_link_libraries(test_bitcoin bitcoinconsensus) | target_link_libraries(test_bitcoin bitcoinconsensus) | ||||
endif() | endif() | ||||
if(BUILD_BITCOIN_WALLET) | if(BUILD_BITCOIN_WALLET) | ||||
Show All 16 Lines |