Merge pull request #9921

90256c8 error out if functional tests are disabled (Crypto City)
This commit is contained in:
tobtoht 2025-08-21 16:19:30 +00:00
commit 6dc7b1f8fb
No known key found for this signature in database
GPG Key ID: E45B10DD027D2472

View File

@ -78,4 +78,7 @@ if (REQUESTS_OUTPUT STREQUAL "OK")
else() else()
message(WARNING "functional_tests_rpc and check_missing_rpc_methods skipped, needs the 'requests', 'psutil', 'monotonic', 'zmq', and 'deepdiff' python modules") message(WARNING "functional_tests_rpc and check_missing_rpc_methods skipped, needs the 'requests', 'psutil', 'monotonic', 'zmq', and 'deepdiff' python modules")
set(CTEST_CUSTOM_TESTS_IGNORE ${CTEST_CUSTOM_TESTS_IGNORE} functional_tests_rpc check_missing_rpc_methods) set(CTEST_CUSTOM_TESTS_IGNORE ${CTEST_CUSTOM_TESTS_IGNORE} functional_tests_rpc check_missing_rpc_methods)
if (EXPECT_FUNCTIONAL_TESTS)
message(FATAL_ERROR "Functional tests are expected")
endif()
endif() endif()