summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeTests/List-Get-Invalid-Index.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-07-14 13:41:05 (GMT)
committerBrad King <brad.king@kitware.com>2015-07-14 14:25:38 (GMT)
commite5ca59b456d3a1a51d0b5387ec9d04a51beaa0be (patch)
tree6166bc6a150f2a319c946e6395fc3636267e7bb6 /Tests/CMakeTests/List-Get-Invalid-Index.cmake
parent0699e0d3e4305fc4e615c36b831d0171c2f8c757 (diff)
downloadCMake-e5ca59b456d3a1a51d0b5387ec9d04a51beaa0be.zip
CMake-e5ca59b456d3a1a51d0b5387ec9d04a51beaa0be.tar.gz
CMake-e5ca59b456d3a1a51d0b5387ec9d04a51beaa0be.tar.bz2
Tests: Move command failure cases into RunCMake infrastructure
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.
Diffstat (limited to 'Tests/CMakeTests/List-Get-Invalid-Index.cmake')
-rw-r--r--Tests/CMakeTests/List-Get-Invalid-Index.cmake2
1 files changed, 0 insertions, 2 deletions
diff --git a/Tests/CMakeTests/List-Get-Invalid-Index.cmake b/Tests/CMakeTests/List-Get-Invalid-Index.cmake
deleted file mode 100644
index 178295a..0000000
--- a/Tests/CMakeTests/List-Get-Invalid-Index.cmake
+++ /dev/null
@@ -1,2 +0,0 @@
-set(mylist alpha bravo charlie)
-list(GET mylist 3 result)