From 67dc7523f3e103c8359b546d38f28c1feb2b9b34 Mon Sep 17 00:00:00 2001 From: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> Date: Wed, 12 Feb 2025 12:39:30 +0000 Subject: [PATCH] cmake, test: Disable tests instead of ignoring them --- cmake/tests.cmake | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/cmake/tests.cmake b/cmake/tests.cmake index 78dd8ec8b03..473be62b288 100644 --- a/cmake/tests.cmake +++ b/cmake/tests.cmake @@ -2,8 +2,9 @@ # Distributed under the MIT software license, see the accompanying # file COPYING or https://opensource.org/license/mit/. -if(TARGET Python3::Interpreter) - add_test(NAME util_rpcauth_test - COMMAND Python3::Interpreter ${PROJECT_BINARY_DIR}/test/util/rpcauth-test.py - ) -endif() +add_test(NAME util_rpcauth_test + COMMAND Python3::Interpreter ${PROJECT_BINARY_DIR}/test/util/rpcauth-test.py +) +set_tests_properties(util_rpcauth_test PROPERTIES + DISABLED $> +)