summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/Syntax
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-10-29 13:55:43 (GMT)
committerBrad King <brad.king@kitware.com>2013-10-29 13:55:43 (GMT)
commit144068e270a5e99fb6c3e5dbea0eb94d0bd8fd79 (patch)
treec605e1558c93abd7807dc373344dcbad173cc930 /Tests/RunCMake/Syntax
parent1665721c28daf8b20c054e3a3cc357fa778bb76e (diff)
downloadCMake-144068e270a5e99fb6c3e5dbea0eb94d0bd8fd79.zip
CMake-144068e270a5e99fb6c3e5dbea0eb94d0bd8fd79.tar.gz
CMake-144068e270a5e99fb6c3e5dbea0eb94d0bd8fd79.tar.bz2
Add to RunCMake.Syntax test comments not separated by spaces
Extend the BracketComment5 test case to cover both bracket comments and line comments starting immediately after a bracket comment closes.
Diffstat (limited to 'Tests/RunCMake/Syntax')
-rw-r--r--Tests/RunCMake/Syntax/BracketComment5.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/RunCMake/Syntax/BracketComment5.cmake b/Tests/RunCMake/Syntax/BracketComment5.cmake
index bb6d9f3..dc9e6b4 100644
--- a/Tests/RunCMake/Syntax/BracketComment5.cmake
+++ b/Tests/RunCMake/Syntax/BracketComment5.cmake
@@ -2,5 +2,10 @@
message(FATAL_ERROR "This is commented out.")
#]] #[[
message(FATAL_ERROR "This is commented out.")
+#]]#[[
+message(FATAL_ERROR "This is commented out.")
#]] #message(FATAL_ERROR "This is commented out.")
+#[[
+message(FATAL_ERROR "This is commented out.")
+#]]#message(FATAL_ERROR "This is commented out.")
message(STATUS "The above FATAL_ERROR did not occur.")