mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-12-22 17:58:53 +00:00
functional_tests: hide check_missing_rpc_methods behind requests check
This commit is contained in:
parent
b8f3e44a3f
commit
b5209a09d2
@ -69,11 +69,10 @@ if (REQUESTS_OUTPUT STREQUAL "OK")
|
|||||||
add_test(
|
add_test(
|
||||||
NAME functional_tests_rpc
|
NAME functional_tests_rpc
|
||||||
COMMAND ${PYTHON_EXECUTABLE} "${CMAKE_CURRENT_SOURCE_DIR}/functional_tests_rpc.py" "${PYTHON_EXECUTABLE}" "${CMAKE_CURRENT_SOURCE_DIR}" "${CMAKE_BINARY_DIR}" all)
|
COMMAND ${PYTHON_EXECUTABLE} "${CMAKE_CURRENT_SOURCE_DIR}/functional_tests_rpc.py" "${PYTHON_EXECUTABLE}" "${CMAKE_CURRENT_SOURCE_DIR}" "${CMAKE_BINARY_DIR}" all)
|
||||||
|
add_test(
|
||||||
|
NAME check_missing_rpc_methods
|
||||||
|
COMMAND ${PYTHON_EXECUTABLE} "${CMAKE_CURRENT_SOURCE_DIR}/check_missing_rpc_methods.py" "${CMAKE_SOURCE_DIR}")
|
||||||
else()
|
else()
|
||||||
message(WARNING "functional_tests_rpc skipped, needs the 'requests' python module")
|
message(WARNING "functional_tests_rpc and check_missing_rpc_methods skipped, needs the 'requests' python module")
|
||||||
set(CTEST_CUSTOM_TESTS_IGNORE ${CTEST_CUSTOM_TESTS_IGNORE} functional_tests_rpc)
|
set(CTEST_CUSTOM_TESTS_IGNORE ${CTEST_CUSTOM_TESTS_IGNORE} functional_tests_rpc check_missing_rpc_methods)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_test(
|
|
||||||
NAME check_missing_rpc_methods
|
|
||||||
COMMAND ${PYTHON_EXECUTABLE} "${CMAKE_CURRENT_SOURCE_DIR}/check_missing_rpc_methods.py" "${CMAKE_SOURCE_DIR}")
|
|
||||||
|
Loading…
Reference in New Issue
Block a user