summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMakePresets/RunCMakeTest.cmake
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2022-09-15 18:50:55 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2022-09-15 18:50:55 (GMT)
commite7087308ce9cc529e233489a4cec4c4cd7ece51a (patch)
tree1a15ab6920986414f56c76462d204b7df15dec31 /Tests/RunCMake/CMakePresets/RunCMakeTest.cmake
parent01a25d72c69b0a9a60c1a62939d6a2c543448118 (diff)
downloadCMake-e7087308ce9cc529e233489a4cec4c4cd7ece51a.zip
CMake-e7087308ce9cc529e233489a4cec4c4cd7ece51a.tar.gz
CMake-e7087308ce9cc529e233489a4cec4c4cd7ece51a.tar.bz2
cmake --list-presets: List package as a valid option
Diffstat (limited to 'Tests/RunCMake/CMakePresets/RunCMakeTest.cmake')
-rw-r--r--Tests/RunCMake/CMakePresets/RunCMakeTest.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMakePresets/RunCMakeTest.cmake b/Tests/RunCMake/CMakePresets/RunCMakeTest.cmake
index c511b34..4f57e2f 100644
--- a/Tests/RunCMake/CMakePresets/RunCMakeTest.cmake
+++ b/Tests/RunCMake/CMakePresets/RunCMakeTest.cmake
@@ -289,6 +289,7 @@ run_cmake_presets(UserInheritance)
# Test listing presets
set(CMakePresets_FILE "${RunCMake_SOURCE_DIR}/ListPresets.json.in")
run_cmake_presets(ListPresets --list-presets)
+run_cmake_presets(ListPresetsInvalidType --list-presets=invalid-type)
set(RunCMake_TEST_BINARY_DIR "${RunCMake_BINARY_DIR}/ListPresetsWorkingDir")
set(RunCMake_TEST_NO_CLEAN 1)