summaryrefslogtreecommitdiff
path: root/Tests/RunCMake/Syntax/CMP0053-ParenInQuotedENV.cmake
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2014-02-18 14:47:56 -0500
committerBrad King <brad.king@kitware.com>2014-05-08 13:24:49 -0400
commit411f77d14f0cea36aeaf04b01d3fdf2ea7ec2173 (patch)
tree45198448818b927c305d62e2653281a8c60f56b6 /Tests/RunCMake/Syntax/CMP0053-ParenInQuotedENV.cmake
parentbc3856586388a610ef3d06d51c212a9ed25856c4 (diff)
downloadcmake-411f77d14f0cea36aeaf04b01d3fdf2ea7ec2173.tar.gz
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-ParenInQuotedENV.cmake')
-rw-r--r--Tests/RunCMake/Syntax/CMP0053-ParenInQuotedENV.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/RunCMake/Syntax/CMP0053-ParenInQuotedENV.cmake b/Tests/RunCMake/Syntax/CMP0053-ParenInQuotedENV.cmake
new file mode 100644
index 0000000000..5559d4b9d8
--- /dev/null
+++ b/Tests/RunCMake/Syntax/CMP0053-ParenInQuotedENV.cmake
@@ -0,0 +1,3 @@
+cmake_policy(SET CMP0053 NEW)
+set("ENV{e(x)}" value)
+message("-->$ENV{e\(x\)}<--")