summaryrefslogtreecommitdiffstats
path: root/Source/cmAddTestCommand.h
diff options
context:
space:
mode:
authorAmitha Perera <perera@cs.rpi.edu>2001-08-23 22:30:05 (GMT)
committerAmitha Perera <perera@cs.rpi.edu>2001-08-23 22:30:05 (GMT)
commit2eb9d09e04735163a4c5d66e789ff9b6e60e0220 (patch)
tree874633211f1b83e6ab7f23b796a0b230cf6ca6bb /Source/cmAddTestCommand.h
parent538ff79e2f606c4c3722d94e10f0a759a1f97d86 (diff)
downloadCMake-2eb9d09e04735163a4c5d66e789ff9b6e60e0220.zip
CMake-2eb9d09e04735163a4c5d66e789ff9b6e60e0220.tar.gz
CMake-2eb9d09e04735163a4c5d66e789ff9b6e60e0220.tar.bz2
BUG: ADD_TEST now only does stuff if ENABLE_TESTING has been run.
Diffstat (limited to 'Source/cmAddTestCommand.h')
-rw-r--r--Source/cmAddTestCommand.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmAddTestCommand.h b/Source/cmAddTestCommand.h
index 6137072..6f0e272 100644
--- a/Source/cmAddTestCommand.h
+++ b/Source/cmAddTestCommand.h
@@ -92,7 +92,9 @@ public:
{
return
"ADD_TEST(testname exename arg1 arg2 arg3 ...)\n"
- "This command adds a test target to the current directory. "
+ "If the ENABLE_TESTING command has been run, this command adds a"
+ "test target to the current directory. If ENABLE_TESTING has not"
+ "been run, this command does nothing.\n"
"The tests are run by the testing subsystem by executing exename "
"with the specified arguments. exename can be either an executable "
"built by built by this project or an arbitrary executable on the "