CMake/Tests/RunCMake/Syntax/CMP0053-NUL-stderr.txt
Ben Boeckel 411f77d14f 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
2014-05-08 13:24:49 -04:00

57 lines
1.5 KiB
Plaintext

^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.
--><--
--><--
--><--
--><--$