summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMP0037/CMP0037-NEW-colon-stderr.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-11-08 16:44:55 (GMT)
committerBrad King <brad.king@kitware.com>2013-11-11 12:27:02 (GMT)
commit8c6c1f16c94318630a547425637fdbc34f86f1fc (patch)
tree1adff3d94208c97f97ea5e1740358553d6321b6c /Tests/RunCMake/CMP0037/CMP0037-NEW-colon-stderr.txt
parent596b2a8c0820bed8195e2377927a18cf2d76727c (diff)
downloadCMake-8c6c1f16c94318630a547425637fdbc34f86f1fc.zip
CMake-8c6c1f16c94318630a547425637fdbc34f86f1fc.tar.gz
CMake-8c6c1f16c94318630a547425637fdbc34f86f1fc.tar.bz2
Enable RunCMake.CMP0037 test everywhere
Split the test cases covering spaces and colons into separate units. Run the space cases everywhere. Disable the colon cases where they are known to fail. This approach increases platform coverage for the test and makes the known-failure logic as local as possible. No Makefile generator on Windows can generate targets with ':' in their name because the CMakeFiles/<target>.dir directory cannot be created. Skip this part of the test on all Windows Make tools.
Diffstat (limited to 'Tests/RunCMake/CMP0037/CMP0037-NEW-colon-stderr.txt')
-rw-r--r--Tests/RunCMake/CMP0037/CMP0037-NEW-colon-stderr.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMP0037/CMP0037-NEW-colon-stderr.txt b/Tests/RunCMake/CMP0037/CMP0037-NEW-colon-stderr.txt
new file mode 100644
index 0000000..aadc7d7
--- /dev/null
+++ b/Tests/RunCMake/CMP0037/CMP0037-NEW-colon-stderr.txt
@@ -0,0 +1,19 @@
+CMake Error at CMP0037-NEW-colon.cmake:4 \(add_library\):
+ Policy CMP0037 is not set: Target names should match a validity pattern.
+ Run "cmake --help-policy CMP0037" for policy details. Use the cmake_policy
+ command to set the policy and suppress this warning.
+
+ The target name "lib:colon" is not valid for certain CMake features, such
+ as generator expressions, and may result in undefined behavior.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
++
+CMake Error at CMP0037-NEW-colon.cmake:5 \(add_executable\):
+ Policy CMP0037 is not set: Target names should match a validity pattern.
+ Run "cmake --help-policy CMP0037" for policy details. Use the cmake_policy
+ command to set the policy and suppress this warning.
+
+ The target name "exe:colon" is not valid for certain CMake features, such
+ as generator expressions, and may result in undefined behavior.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)