summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/Syntax/CMP0053-NUL-stderr.txt
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-NUL-stderr.txt
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-NUL-stderr.txt')
-rw-r--r--Tests/RunCMake/Syntax/CMP0053-NUL-stderr.txt56
1 files changed, 56 insertions, 0 deletions
diff --git a/Tests/RunCMake/Syntax/CMP0053-NUL-stderr.txt b/Tests/RunCMake/Syntax/CMP0053-NUL-stderr.txt
new file mode 100644
index 0000000..09c7e7c
--- /dev/null
+++ b/Tests/RunCMake/Syntax/CMP0053-NUL-stderr.txt
@@ -0,0 +1,56 @@
+^CMake Warning \(dev\) at CMP0053-NUL.cmake:1 \(set\):
+ Policy CMP0053 is not set: Simplify variable reference and escape sequence
+ evaluation. Run "cmake --help-policy CMP0053" for policy details. Use the
+ cmake_policy command to set the policy and suppress this warning.
+
+ For input:
+
+ '\\0'
+
+ the old evaluation rules produce:
+
+ ''
+
+ but the new evaluation rules produce an error:
+
+ Syntax error in cmake code at
+ .*/Tests/RunCMake/Syntax/CMP0053-NUL.cmake:1
+ when parsing string
+ \\0
+ Invalid character escape '\\0'.
+
+ Using the old result for compatibility since the policy is not set.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
+This warning is for project developers. Use -Wno-dev to suppress it.
+
+CMake Warning \(dev\) at CMP0053-NUL.cmake:2 \(set\):
+ Policy CMP0053 is not set: Simplify variable reference and escape sequence
+ evaluation. Run "cmake --help-policy CMP0053" for policy details. Use the
+ cmake_policy command to set the policy and suppress this warning.
+
+ For input:
+
+ '\\0'
+
+ the old evaluation rules produce:
+
+ ''
+
+ but the new evaluation rules produce an error:
+
+ Syntax error in cmake code at
+ .*/Tests/RunCMake/Syntax/CMP0053-NUL.cmake:2
+ when parsing string
+ \\0
+ Invalid character escape '\\0'.
+
+ Using the old result for compatibility since the policy is not set.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
+This warning is for project developers. Use -Wno-dev to suppress it.
+
+--><--
+--><--
+--><--
+--><--$