Changeset View
Changeset View
Standalone View
Standalone View
test/CMakeLists.txt
Show First 20 Lines • Show All 51 Lines • ▼ Show 20 Lines | |||||
add_custom_target(check-functional | add_custom_target(check-functional | ||||
COMMAND | COMMAND | ||||
./functional/test_runner.py | ./functional/test_runner.py | ||||
DEPENDS | DEPENDS | ||||
../src/bitcoind | ../src/bitcoind | ||||
${CMAKE_CURRENT_BINARY_DIR}/functional/test_runner.py | ${CMAKE_CURRENT_BINARY_DIR}/functional/test_runner.py | ||||
${CMAKE_CURRENT_BINARY_DIR}/functional/create_cache.py | ${CMAKE_CURRENT_BINARY_DIR}/functional/create_cache.py | ||||
${CMAKE_CURRENT_BINARY_DIR}/util/bitcoin-util-test.py | ${CMAKE_CURRENT_BINARY_DIR}/util/bitcoin-util-test.py | ||||
deadalnix: Is that correct ? | |||||
FabienAuthorUnsubmitted Done Inline ActionsNo, it's useless, I will remove it in another diff Fabien: No, it's useless, I will remove it in another diff | |||||
) | ) | ||||
add_dependencies(check-all check-functional) | add_dependencies(check-all check-functional) | ||||
if(BUILD_BITCOIN_TX) | |||||
add_custom_target(bitcoin-util-test | |||||
COMMAND | |||||
./util/bitcoin-util-test.py | |||||
DEPENDS | |||||
../src/bitcoin-tx | |||||
${CMAKE_CURRENT_BINARY_DIR}/util/bitcoin-util-test.py | |||||
) | |||||
create_test_suite(bitcoin-util-test) | |||||
add_test(bitcoin-util-test util/bitcoin-util-test.py) | |||||
add_dependencies(check-bitcoin-util-test bitcoin-util-test) | |||||
add_dependencies(check check-bitcoin-util-test) | |||||
deadalnixUnsubmitted Not Done Inline ActionsThis is almost certainly not correct. Running the test depends on running the test with a custom target. deadalnix: This is almost certainly not correct. Running the test depends on running the test with a… | |||||
endif() | |||||
No newline at end of file |
Is that correct ?