summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/Syntax/CommandComments.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-02-17 01:10:21 (GMT)
committerBrad King <brad.king@kitware.com>2013-08-08 17:26:27 (GMT)
commite945949d141c196df7f6232a7839c1de94f935ec (patch)
tree9681f8f821675e7f10ed63030c40134ae36f0b05 /Tests/RunCMake/Syntax/CommandComments.cmake
parent0546484e4b7856c417f30a5b8ff6af6a5a080f0d (diff)
downloadCMake-e945949d141c196df7f6232a7839c1de94f935ec.zip
CMake-e945949d141c196df7f6232a7839c1de94f935ec.tar.gz
CMake-e945949d141c196df7f6232a7839c1de94f935ec.tar.bz2
Add RunCMake.Syntax test cases for command invocation styles
Cover commands with whitespace present in allowed combinations. Also cover command error cases such as two on one line.
Diffstat (limited to 'Tests/RunCMake/Syntax/CommandComments.cmake')
-rw-r--r--Tests/RunCMake/Syntax/CommandComments.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/RunCMake/Syntax/CommandComments.cmake b/Tests/RunCMake/Syntax/CommandComments.cmake
new file mode 100644
index 0000000..0fd7484
--- /dev/null
+++ b/Tests/RunCMake/Syntax/CommandComments.cmake
@@ -0,0 +1,6 @@
+message("Example Message"#)
+ )
+message ("Example Message" # )
+ )
+message( "Example Message\n" # "Commented" )
+ "Second Line of Example")