We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb9157d commit 67dc752Copy full SHA for 67dc752
cmake/tests.cmake
@@ -2,8 +2,9 @@
2
# Distributed under the MIT software license, see the accompanying
3
# file COPYING or https://opensource.org/license/mit/.
4
5
-if(TARGET Python3::Interpreter)
6
- add_test(NAME util_rpcauth_test
7
- COMMAND Python3::Interpreter ${PROJECT_BINARY_DIR}/test/util/rpcauth-test.py
8
- )
9
-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 $<NOT:$<TARGET_EXISTS:Python3::Interpreter>>
10
0 commit comments