summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestSubmitCommand.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-02-20 20:50:15 (GMT)
committerBrad King <brad.king@kitware.com>2009-02-20 20:50:15 (GMT)
commit17dc49c0139d559043eaee20bb53b516faa6a303 (patch)
tree736cff051d1fb20f117db324a56893222ef0e545 /Source/CTest/cmCTestSubmitCommand.h
parentf04fed206f3c5d349b1b39eaf792f4a078672416 (diff)
downloadCMake-17dc49c0139d559043eaee20bb53b516faa6a303.zip
CMake-17dc49c0139d559043eaee20bb53b516faa6a303.tar.gz
CMake-17dc49c0139d559043eaee20bb53b516faa6a303.tar.bz2
ENH: More documentation for ctest_submit command
This clarifies the terse documentation and lists valid values for PARTS.
Diffstat (limited to 'Source/CTest/cmCTestSubmitCommand.h')
-rw-r--r--Source/CTest/cmCTestSubmitCommand.h21
1 files changed, 16 insertions, 5 deletions
diff --git a/Source/CTest/cmCTestSubmitCommand.h b/Source/CTest/cmCTestSubmitCommand.h
index bf99f09..18126a5 100644
--- a/Source/CTest/cmCTestSubmitCommand.h
+++ b/Source/CTest/cmCTestSubmitCommand.h
@@ -57,7 +57,7 @@ public:
*/
virtual const char* GetTerseDocumentation()
{
- return "Submits the repository.";
+ return "Submit results to a dashboard server.";
}
/**
@@ -66,12 +66,23 @@ public:
virtual const char* GetFullDocumentation()
{
return
- " ctest_submit([RETURN_VALUE res] [PARTS ...] [FILES ...])\n"
- "Submits the test results for the project. "
- "By default all available parts are submitted. "
+ " ctest_submit([PARTS ...] [FILES ...] [RETURN_VALUE res])\n"
+ "By default all available parts are submitted if no PARTS or FILES "
+ "are specified. "
"The PARTS option lists a subset of parts to be submitted. "
+ "Valid part names are:\n"
+ " Start = nothing\n"
+ " Update = ctest_update results, in Update.xml\n"
+ " Configure = ctest_configure results, in Configure.xml\n"
+ " Build = ctest_build results, in Build.xml\n"
+ " Test = ctest_test results, in Test.xml\n"
+ " Coverage = ctest_coverage results, in Coverage.xml\n"
+ " MemCheck = ctest_memcheck results, in DynamicAnalysis.xml\n"
+ " Notes = Files listed by CTEST_NOTES_FILES, in Notes.xml\n"
+ " ExtraFiles = Files listed by CTEST_EXTRA_SUBMIT_FILES\n"
+ " Submit = nothing\n"
"The FILES option explicitly lists specific files to be submitted. "
- "Each individual file must exist at the time of the call.";
+ "Each individual file must exist at the time of the call.\n";
}
cmTypeMacro(cmCTestSubmitCommand, cmCTestHandlerCommand);