diff options
author | Marc Chevrier <marc.chevrier@sap.com> | 2018-03-16 13:12:25 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-03-21 16:54:53 (GMT) |
commit | 768225837db303e8b568e39ade730eea8ac6b573 (patch) | |
tree | 8438f1112f7eae9ee54afbbdd958af55f57e94c2 /Tests/RunCMake/list/RunCMakeTest.cmake | |
parent | d41abae70f282c718f3109b7f76644adce41ff37 (diff) | |
download | CMake-768225837db303e8b568e39ade730eea8ac6b573.zip CMake-768225837db303e8b568e39ade730eea8ac6b573.tar.gz CMake-768225837db303e8b568e39ade730eea8ac6b573.tar.bz2 |
list: Add SUBLIST sub-command
Issue: #17823
Diffstat (limited to 'Tests/RunCMake/list/RunCMakeTest.cmake')
-rw-r--r-- | Tests/RunCMake/list/RunCMakeTest.cmake | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/RunCMake/list/RunCMakeTest.cmake b/Tests/RunCMake/list/RunCMakeTest.cmake index 1be4f85..3913783 100644 --- a/Tests/RunCMake/list/RunCMakeTest.cmake +++ b/Tests/RunCMake/list/RunCMakeTest.cmake @@ -13,6 +13,7 @@ run_cmake(FILTER-REGEX-InvalidRegex) run_cmake(GET-InvalidIndex) run_cmake(INSERT-InvalidIndex) run_cmake(REMOVE_AT-InvalidIndex) +run_cmake(SUBLIST-InvalidIndex) run_cmake(FILTER-REGEX-TooManyArguments) run_cmake(JOIN-TooManyArguments) @@ -20,6 +21,7 @@ run_cmake(LENGTH-TooManyArguments) run_cmake(REMOVE_DUPLICATES-TooManyArguments) run_cmake(REVERSE-TooManyArguments) run_cmake(SORT-TooManyArguments) +run_cmake(SUBLIST-TooManyArguments) run_cmake(FILTER-NotList) run_cmake(REMOVE_AT-NotList) @@ -36,3 +38,8 @@ run_cmake(FILTER-REGEX-Valid1) run_cmake(JOIN-NoArguments) run_cmake(JOIN-NoVariable) run_cmake(JOIN) + +run_cmake(SUBLIST-NoArguments) +run_cmake(SUBLIST-NoVariable) +run_cmake(SUBLIST-InvalidLength) +run_cmake(SUBLIST) |