CMake/Tests/RunCMake/add_test/CMP0110-WARN-LeadingAndTrailingWhitespace-stderr.txt
Deniz Bahadir a20987732b add_test: Allow special characters in test name (w/ policy CMP0110)
Restore the change from commit f84af8e270 (add_test: Allow special
characters in test name, 2020-05-16, v3.18.0-rc1~142^2) that had to be
reverted by commit f84af8e270 (add_test: Allow special characters in
test name, 2020-05-16, v3.18.0-rc1~142^2) for compatibility.

Add policy CMP0110 to make the change in a compatible way.
Also, support even more characters than before by generating the
test scripts using bracket arguments around the test names.

Fixes: #19391
Signed-off-by: Deniz Bahadir <dbahadir@benocs.com>
2020-08-12 10:44:07 -04:00

12 lines
466 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

CMake Warning \(dev\) in CMakeLists\.txt:
Policy CMP0110 is not set: add_test\(\) supports arbitrary characters in test
names\. Run "cmake --help-policy CMP0110" for policy details\. Use the
cmake_policy command to set the policy and suppress this warning\.
The following name given to add_test\(\) is invalid if CMP0110 is not set or
set to OLD:
` SurroundedByWhitespace ´
This warning is for project developers\. Use -Wno-dev to suppress it\.