0
0
mirror of https://github.com/monero-project/monero synced 2025-10-06 08:42:47 +02:00

error out if functional tests are disabled

This commit is contained in:
Crypto City
2024-10-10 21:40:55 +00:00
committed by moneromooo-monero
parent c2e3835223
commit 90256c8208

View File

@@ -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()