From 90256c82083402ef0536b5dccd906aedb8c0bc1a Mon Sep 17 00:00:00 2001 From: Crypto City Date: Thu, 10 Oct 2024 21:40:55 +0000 Subject: [PATCH] error out if functional tests are disabled --- tests/functional_tests/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/functional_tests/CMakeLists.txt b/tests/functional_tests/CMakeLists.txt index 62185a0db..e7e021a2d 100644 --- a/tests/functional_tests/CMakeLists.txt +++ b/tests/functional_tests/CMakeLists.txt @@ -78,4 +78,7 @@ if (REQUESTS_OUTPUT STREQUAL "OK") else() 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) + if (EXPECT_FUNCTIONAL_TESTS) + message(FATAL_ERROR "Functional tests are expected") + endif() endif()