summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/list/RunCMakeTest.cmake
Commit message (Collapse)AuthorAgeFilesLines
* cmListCommand: handle empty lists for list(REMOVE_AT)Ben Boeckel2018-10-161-0/+2
| | | | | Treat an empty list as a list with no valid bounds and return an error message indicating that any given indices are out-of-bounds.
* list: Add options to control the SORT comparison operationDaniel Franke2018-06-131-1/+13
|
* list: Add TRANSFORM sub-commandMarc Chevrier2018-04-161-0/+41
| | | | Issue: #17823
* list: Add SUBLIST sub-commandMarc Chevrier2018-03-211-0/+7
| | | | Issue: #17823
* list(): add `JOIN` sub-commandMarc Chevrier2018-03-201-0/+5
|
* list: Add FILTER subcommand (#3986)Ashley Whetter2016-02-031-0/+9
| | | | Create a `list(FILTER)` command to filter lists by regular expression.
* Tests: Move command failure cases into RunCMake infrastructureBrad King2015-07-141-0/+19
| | | | | | | Move failure cases from the CMake.{If,List,While,GetProperty} tests over to the RunCMake.{if,list,while,get_property} tests to use the more modern infrastructure. This also avoids using REGEX_ESCAPE_STRING to try to regex-match full paths.
* list: Handle errors on empty lists more gracefully (#13138)Brad King2012-04-171-0/+5
Since commit ed1ea24c (Fix INSERT to allow inserting to empty list, 2006-05-15) the list command allows insertion into an empty list at index 0. Fix rejection of insertion at non-zero (negative) indices to present an error message instead of crashing. While at it, fix the error message of the GET and REMOVE_AT operations when the list is empty to not present a bogus allowed range. Add a "RunCMake.list" test to cover failure cases on empty lists.