Changeset View
Changeset View
Standalone View
Standalone View
test/CMakeLists.txt
Show All 11 Lines | |||||
endif() | endif() | ||||
if(NOT BUILD_BITCOIN_TX OR NOT BUILD_BITCOIN_TX) | if(NOT BUILD_BITCOIN_TX OR NOT BUILD_BITCOIN_TX) | ||||
set(BUILD_BITCOIN_UTILS_TRUE "#") | set(BUILD_BITCOIN_UTILS_TRUE "#") | ||||
endif() | endif() | ||||
if(NOT BUILD_BITCOIN_ZMQ) | if(NOT BUILD_BITCOIN_ZMQ) | ||||
set(ENABLE_ZMQ_TRUE "#") | set(ENABLE_ZMQ_TRUE "#") | ||||
endif() | endif() | ||||
if(NOT "fuzzer" IN_LIST ENABLE_SANITIZERS) | |||||
set(ENABLE_FUZZ_TRUE "#") | |||||
deadalnix: What does this do? | |||||
FabienAuthorUnsubmitted Done Inline ActionsThe var is used to fill the config.ini used by the test_runner.py scripts to determine which feature has been built. Fabien: The var is used to fill the config.ini used by the `test_runner.py` scripts to determine which… | |||||
endif() | |||||
# Create build ini file | # Create build ini file | ||||
configure_file(config.ini.in config.ini @ONLY) | configure_file(config.ini.in config.ini @ONLY) | ||||
### | ### | ||||
# Setup symlinks for testing | # Setup symlinks for testing | ||||
### | ### | ||||
Show All 13 Lines | |||||
endfunction() | endfunction() | ||||
file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/functional/) | file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/functional/) | ||||
file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/util/) | file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/util/) | ||||
make_link(functional/test_runner.py) | make_link(functional/test_runner.py) | ||||
make_link(util/bitcoin-util-test.py) | make_link(util/bitcoin-util-test.py) | ||||
make_link(util/rpcauth-test.py) | make_link(util/rpcauth-test.py) | ||||
if("fuzzer" IN_LIST ENABLE_SANITIZERS) | |||||
make_link(fuzz/test_runner.py) | |||||
deadalnixUnsubmitted Not Done Inline ActionsJust always link. Also create a directory. deadalnix: Just always link. Also create a directory. | |||||
endif() | |||||
add_custom_target(check-functional | add_custom_target(check-functional | ||||
COMMENT "Run functional tests..." | COMMENT "Run functional tests..." | ||||
COMMAND | COMMAND | ||||
"${PYTHON_EXECUTABLE}" | "${PYTHON_EXECUTABLE}" | ||||
./functional/test_runner.py | ./functional/test_runner.py | ||||
DEPENDS | DEPENDS | ||||
../src/bitcoind | ../src/bitcoind | ||||
Show All 39 Lines |
What does this do?