summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/add_custom_target/BadTargetName-stderr.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-11-13 17:46:49 (GMT)
committerBrad King <brad.king@kitware.com>2014-11-14 16:43:35 (GMT)
commit39baf728b78bfc5ae99258fc8db1c467f01b9ae4 (patch)
tree38040cb1f0173915884bb456cd73e493c79896b9 /Tests/RunCMake/add_custom_target/BadTargetName-stderr.txt
parent0b3b54e21f5ab827d8073ad58de92e73d8688e6b (diff)
downloadCMake-39baf728b78bfc5ae99258fc8db1c467f01b9ae4.zip
CMake-39baf728b78bfc5ae99258fc8db1c467f01b9ae4.tar.gz
CMake-39baf728b78bfc5ae99258fc8db1c467f01b9ae4.tar.bz2
Tests: Test add_custom_command and add_custom_target error cases
Add RunCMake.add_custom_command and RunCMake.add_custom_target tests to cover the error messages for these commands.
Diffstat (limited to 'Tests/RunCMake/add_custom_target/BadTargetName-stderr.txt')
-rw-r--r--Tests/RunCMake/add_custom_target/BadTargetName-stderr.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/Tests/RunCMake/add_custom_target/BadTargetName-stderr.txt b/Tests/RunCMake/add_custom_target/BadTargetName-stderr.txt
new file mode 100644
index 0000000..f352457
--- /dev/null
+++ b/Tests/RunCMake/add_custom_target/BadTargetName-stderr.txt
@@ -0,0 +1,17 @@
+CMake Error at BadTargetName.cmake:1 \(add_custom_target\):
+ add_custom_target called with target name containing a "#". This character
+ is not allowed.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
++
+CMake Error at BadTargetName.cmake:2 \(add_custom_target\):
+ add_custom_target called with target name containing a "<". This character
+ is not allowed.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
++
+CMake Error at BadTargetName.cmake:3 \(add_custom_target\):
+ add_custom_target called with target name containing a ">". This character
+ is not allowed.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)