summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/Syntax/CMP0053-WARN.cmake
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2014-02-18 19:47:56 (GMT)
committerBrad King <brad.king@kitware.com>2014-05-08 17:24:49 (GMT)
commit411f77d14f0cea36aeaf04b01d3fdf2ea7ec2173 (patch)
tree45198448818b927c305d62e2653281a8c60f56b6 /Tests/RunCMake/Syntax/CMP0053-WARN.cmake
parentbc3856586388a610ef3d06d51c212a9ed25856c4 (diff)
downloadCMake-411f77d14f0cea36aeaf04b01d3fdf2ea7ec2173.zip
CMake-411f77d14f0cea36aeaf04b01d3fdf2ea7ec2173.tar.gz
CMake-411f77d14f0cea36aeaf04b01d3fdf2ea7ec2173.tar.bz2
EVIS: Add tests for syntax corner cases and CMP0053
Include tests for: - @ expansion during normal execution - various characters in variable names for comparison between the new and the old parser - corner cases in the parsers - correct messages when behavior is different
Diffstat (limited to 'Tests/RunCMake/Syntax/CMP0053-WARN.cmake')
-rw-r--r--Tests/RunCMake/Syntax/CMP0053-WARN.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/RunCMake/Syntax/CMP0053-WARN.cmake b/Tests/RunCMake/Syntax/CMP0053-WARN.cmake
new file mode 100644
index 0000000..6e8b07b
--- /dev/null
+++ b/Tests/RunCMake/Syntax/CMP0053-WARN.cmake
@@ -0,0 +1,5 @@
+macro (escape str)
+ message("${str}")
+endmacro ()
+
+escape("\\")