summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeOnly
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-07-30 16:07:37 (GMT)
committerBrad King <brad.king@kitware.com>2019-07-30 16:09:43 (GMT)
commit800c3ab2e0b5eed54221ac37c634938ca3d273ab (patch)
treee80b80ff3c95fd924fcff94d43ac3661cf0be966 /Tests/CMakeOnly
parent0e2e3e0f9f8ae6e57da0c914774cea7a40515e1f (diff)
downloadCMake-800c3ab2e0b5eed54221ac37c634938ca3d273ab.zip
CMake-800c3ab2e0b5eed54221ac37c634938ca3d273ab.tar.gz
CMake-800c3ab2e0b5eed54221ac37c634938ca3d273ab.tar.bz2
FindPythonInterp: Document lack of version filtering for plain `python`
Also drop the `CMakeOnly.MajorVersionSelection-PythonInterp_2` test because some environments now have a plain `python` executable for Python 3. Fixes: #19536
Diffstat (limited to 'Tests/CMakeOnly')
-rw-r--r--Tests/CMakeOnly/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CMakeOnly/CMakeLists.txt b/Tests/CMakeOnly/CMakeLists.txt
index 1aeab8b..19f3f79 100644
--- a/Tests/CMakeOnly/CMakeLists.txt
+++ b/Tests/CMakeOnly/CMakeLists.txt
@@ -84,5 +84,5 @@ function(add_major_test module)
endfunction()
add_major_test(PythonLibs VERSIONS 2 3 VERSION_VAR PYTHONLIBS_VERSION_STRING)
-add_major_test(PythonInterp NOLANG VERSIONS 2 3 VERSION_VAR PYTHON_VERSION_STRING)
+add_major_test(PythonInterp NOLANG VERSIONS 3 VERSION_VAR PYTHON_VERSION_STRING)
add_major_test(Qt VERSIONS 3 4 VERSION_VAR QT_VERSION_STRING)