CTest: Fix ctest_sleep documentation (#11554)
Document behavior consistently with the implementation.
This commit is contained in:
parent
d25638ac05
commit
7145ca67fc
@ -63,11 +63,10 @@ public:
|
|||||||
virtual const char* GetFullDocumentation()
|
virtual const char* GetFullDocumentation()
|
||||||
{
|
{
|
||||||
return
|
return
|
||||||
" ctest_sleep( seconds )\n"
|
" ctest_sleep(<seconds>)\n"
|
||||||
" ctest_sleep( time1 duration time2 )\n"
|
"Sleep for given number of seconds.\n"
|
||||||
"With one argument it will sleep for a given number of seconds. "
|
" ctest_sleep(<time1> <duration> <time2>)\n"
|
||||||
"With three arguments it will wait for time2 - time1 - duration "
|
"Sleep for t=(time1 + duration - time2) seconds if t > 0.";
|
||||||
"seconds.";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
cmTypeMacro(cmCTestSleepCommand, cmCTestCommand);
|
cmTypeMacro(cmCTestSleepCommand, cmCTestCommand);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user