Merge topic 'doc-ctest_sleep'

7145ca6 CTest: Fix ctest_sleep documentation (#11554)
This commit is contained in:
Brad King 2010-12-14 14:38:13 -05:00 committed by CMake Topic Stage
commit 24b251ac55
1 changed files with 4 additions and 5 deletions

View File

@ -63,11 +63,10 @@ public:
virtual const char* GetFullDocumentation()
{
return
" ctest_sleep( seconds )\n"
" ctest_sleep( time1 duration time2 )\n"
"With one argument it will sleep for a given number of seconds. "
"With three arguments it will wait for time2 - time1 - duration "
"seconds.";
" ctest_sleep(<seconds>)\n"
"Sleep for given number of seconds.\n"
" ctest_sleep(<time1> <duration> <time2>)\n"
"Sleep for t=(time1 + duration - time2) seconds if t > 0.";
}
cmTypeMacro(cmCTestSleepCommand, cmCTestCommand);