summaryrefslogtreecommitdiffstats
path: root/Tests/FindPython/CustomFailureMessage
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-06-16 11:50:44 (GMT)
committerKitware Robot <kwrobot@kitware.com>2023-06-16 11:50:51 (GMT)
commit387fc61be4310f107d864a190c8e8e18fb509e4b (patch)
tree8ba6687480afbc2d6ddfe890fe2d7bd606315eb0 /Tests/FindPython/CustomFailureMessage
parent4645be97b324e9e75db939140b087171becd0939 (diff)
parent711d1da1255a028947d1117852caa8f33604bd81 (diff)
downloadCMake-387fc61be4310f107d864a190c8e8e18fb509e4b.zip
CMake-387fc61be4310f107d864a190c8e8e18fb509e4b.tar.gz
CMake-387fc61be4310f107d864a190c8e8e18fb509e4b.tar.bz2
Merge topic 'CMake_TEST_FindPython2-3'
711d1da125 FindPython: add capability to select python version for the tests Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8565
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