summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/TargetPropertyGeneratorExpressions/RunCMakeTest.cmake
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2012-10-03 22:31:24 (GMT)
committerBrad King <brad.king@kitware.com>2012-10-09 12:26:45 (GMT)
commit8b3b88abd82a36daf541dfa7094f978e0be08efc (patch)
tree4c01eae814cbb0e19a6219927877f9de10065f2c /Tests/RunCMake/TargetPropertyGeneratorExpressions/RunCMakeTest.cmake
parentb3d8f5dab7f33dba4f327ab7ef4bd7ea90d6b651 (diff)
downloadCMake-8b3b88abd82a36daf541dfa7094f978e0be08efc.zip
CMake-8b3b88abd82a36daf541dfa7094f978e0be08efc.tar.gz
CMake-8b3b88abd82a36daf541dfa7094f978e0be08efc.tar.bz2
GenEx: Validate target and property names.
They must be non-empty, and match a restrictive regexp.
Diffstat (limited to 'Tests/RunCMake/TargetPropertyGeneratorExpressions/RunCMakeTest.cmake')
-rw-r--r--Tests/RunCMake/TargetPropertyGeneratorExpressions/RunCMakeTest.cmake8
1 files changed, 8 insertions, 0 deletions
diff --git a/Tests/RunCMake/TargetPropertyGeneratorExpressions/RunCMakeTest.cmake b/Tests/RunCMake/TargetPropertyGeneratorExpressions/RunCMakeTest.cmake
index e2abd56..0ee3238 100644
--- a/Tests/RunCMake/TargetPropertyGeneratorExpressions/RunCMakeTest.cmake
+++ b/Tests/RunCMake/TargetPropertyGeneratorExpressions/RunCMakeTest.cmake
@@ -7,3 +7,11 @@ run_cmake(BadSelfReference4)
run_cmake(BadSelfReference5)
run_cmake(BadSelfReference6)
run_cmake(BadNonTarget)
+run_cmake(BadInvalidName1)
+run_cmake(BadInvalidName2)
+run_cmake(BadInvalidName3)
+run_cmake(BadInvalidName4)
+run_cmake(BadInvalidName5)
+run_cmake(BadInvalidName6)
+run_cmake(BadInvalidName7)
+run_cmake(BadInvalidName8)