summaryrefslogtreecommitdiffstats
path: root/Tests/FindPython/CustomFailureMessage
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2023-06-13 15:46:32 (GMT)
committerMarc Chevrier <marc.chevrier@gmail.com>2023-06-15 13:28:55 (GMT)
commit711d1da1255a028947d1117852caa8f33604bd81 (patch)
tree64d65a0b31f6afa50f56cec6923e8875360a2f72 /Tests/FindPython/CustomFailureMessage
parent883cbf41710ce3a4c4798f9ced93681ec87115cc (diff)
downloadCMake-711d1da1255a028947d1117852caa8f33604bd81.zip
CMake-711d1da1255a028947d1117852caa8f33604bd81.tar.gz
CMake-711d1da1255a028947d1117852caa8f33604bd81.tar.bz2
FindPython: add capability to select python version for the tests
Diffstat (limited to 'Tests/FindPython/CustomFailureMessage')
-rw-r--r--Tests/FindPython/CustomFailureMessage/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/FindPython/CustomFailureMessage/CMakeLists.txt b/Tests/FindPython/CustomFailureMessage/CMakeLists.txt
index 283aeec..e0148f3 100644
--- a/Tests/FindPython/CustomFailureMessage/CMakeLists.txt
+++ b/Tests/FindPython/CustomFailureMessage/CMakeLists.txt
@@ -62,7 +62,7 @@ set_tests_properties(FindPython.CustomFailureMessage.Multiple PROPERTIES
PASS_REGULAR_EXPRESSION "Reason given by package:.+Interpreter: Cannot run the interpreter.+Development: Cannot find the library")
-if (CMake_TEST_FindPython_NumPy)
+if (CMake_TEST_FindPython3_NumPy)
add_test(NAME FindPython.CustomFailureMessage.NumPy COMMAND
${CMAKE_CTEST_COMMAND} -C $<CONFIGURATION>
--build-and-test