summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-07-18 14:11:55 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-07-18 14:11:55 (GMT)
commit085ed41f65cddad36c007a4985726485f64c1a50 (patch)
treefa8dc5d68c8e202ce804d594428cdfcd5210746c /Source
parentbeffb88da91ec3a384e9500f5c754179d676df82 (diff)
parentd0170584c54b515b7eb2d044c3d48332523b3a37 (diff)
downloadCMake-085ed41f65cddad36c007a4985726485f64c1a50.zip
CMake-085ed41f65cddad36c007a4985726485f64c1a50.tar.gz
CMake-085ed41f65cddad36c007a4985726485f64c1a50.tar.bz2
Merge topic 'doc-add_test-names'
d017058 add_test: Document test name restrictions (#14298)
Diffstat (limited to 'Source')
-rw-r--r--Source/cmAddTestCommand.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmAddTestCommand.h b/Source/cmAddTestCommand.h
index 6a0cd9d..ec7fda3 100644
--- a/Source/cmAddTestCommand.h
+++ b/Source/cmAddTestCommand.h
@@ -71,6 +71,9 @@ public:
" add_test(NAME <name> [CONFIGURATIONS [Debug|Release|...]]\n"
" [WORKING_DIRECTORY dir]\n"
" COMMAND <command> [arg1 [arg2 ...]])\n"
+ "Add a test called <name>. "
+ "The test name may not contain spaces, quotes, or other characters "
+ "special in CMake syntax. "
"If COMMAND specifies an executable target (created by "
"add_executable) it will automatically be replaced by the location "
"of the executable created at build time. "