summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/get_property/RunCMakeTest.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/RunCMake/get_property/RunCMakeTest.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/RunCMake/get_property/RunCMakeTest.cmake')
-rw-r--r--Tests/RunCMake/get_property/RunCMakeTest.cmake14
1 files changed, 14 insertions, 0 deletions
diff --git a/Tests/RunCMake/get_property/RunCMakeTest.cmake b/Tests/RunCMake/get_property/RunCMakeTest.cmake
index e420b5b..00eef34 100644
--- a/Tests/RunCMake/get_property/RunCMakeTest.cmake
+++ b/Tests/RunCMake/get_property/RunCMakeTest.cmake
@@ -8,3 +8,17 @@ run_cmake(source_properties)
run_cmake(target_properties)
run_cmake(test_properties)
run_cmake(DebugConfigurations)
+
+run_cmake(MissingArgument)
+run_cmake(GlobalName)
+run_cmake(BadTest)
+run_cmake(BadTarget)
+run_cmake(BadScope)
+run_cmake(BadDirectory)
+run_cmake(BadArgument)
+run_cmake(VariableName)
+run_cmake(NoTest)
+run_cmake(NoTarget)
+run_cmake(NoSource)
+run_cmake(NoProperty)
+run_cmake(NoCache)