Changeset View
Changeset View
Standalone View
Standalone View
test/CMakeLists.txt
Show First 20 Lines • Show All 52 Lines • ▼ Show 20 Lines | COMMAND | ||||
"${PYTHON_EXECUTABLE}" | "${PYTHON_EXECUTABLE}" | ||||
./functional/test_runner.py | ./functional/test_runner.py | ||||
${ARGN} | ${ARGN} | ||||
DEPENDS | DEPENDS | ||||
../src/bitcoind | ../src/bitcoind | ||||
../src/bitcoin-cli | ../src/bitcoin-cli | ||||
${CMAKE_CURRENT_BINARY_DIR}/functional/test_runner.py | ${CMAKE_CURRENT_BINARY_DIR}/functional/test_runner.py | ||||
USES_TERMINAL | USES_TERMINAL | ||||
VERBATIM | |||||
) | ) | ||||
endmacro() | endmacro() | ||||
add_functional_test_check(check-functional | add_functional_test_check(check-functional | ||||
"Run the functional tests" | "Run the functional tests" | ||||
) | ) | ||||
add_dependencies(check-all check-functional) | add_dependencies(check-all check-functional) | ||||
add_functional_test_check(check-functional-extended | add_functional_test_check(check-functional-extended | ||||
"Run the extended functional tests" | "Run the extended functional tests" | ||||
--extended | --extended | ||||
) | ) | ||||
add_dependencies(check-extended check-functional-extended) | add_dependencies(check-extended check-functional-extended) | ||||
set(TEST_SUITE_NAME_UPGRADE_ACTIVATED "Bitcoin ABC functional tests with the next upgrade activated") | |||||
add_functional_test_check(check-functional-upgrade-activated | add_functional_test_check(check-functional-upgrade-activated | ||||
"Run the functional tests with the upgrade activated" | "Run the functional tests with the upgrade activated" | ||||
--with-phononactivation | --with-phononactivation | ||||
-n "${TEST_SUITE_NAME_UPGRADE_ACTIVATED}" | |||||
) | ) | ||||
add_dependencies(check-upgrade-activated check-functional-upgrade-activated) | add_dependencies(check-upgrade-activated check-functional-upgrade-activated) | ||||
add_functional_test_check(check-functional-upgrade-activated-extended | add_functional_test_check(check-functional-upgrade-activated-extended | ||||
"Run the extended functional tests with the upgrade activated" | "Run the extended functional tests with the upgrade activated" | ||||
--extended | --extended | ||||
--with-phononactivation | --with-phononactivation | ||||
-n "${TEST_SUITE_NAME_UPGRADE_ACTIVATED}" | |||||
) | ) | ||||
add_dependencies(check-upgrade-activated-extended check-functional-upgrade-activated-extended) | add_dependencies(check-upgrade-activated-extended check-functional-upgrade-activated-extended) | ||||
if(BUILD_BITCOIN_TX) | if(BUILD_BITCOIN_TX) | ||||
add_custom_target(check-bitcoin-util | add_custom_target(check-bitcoin-util | ||||
COMMENT "Test Bitcoin utilities..." | COMMENT "Test Bitcoin utilities..." | ||||
COMMAND | COMMAND | ||||
"${PYTHON_EXECUTABLE}" | "${PYTHON_EXECUTABLE}" | ||||
Show All 27 Lines |