STYLE: use lower case also for the ctest-specific commands, as in cmake
I hope I didn't make a typo anywhere, at least the tests still succeed Alex
This commit is contained in:
parent
ab2cb66dd8
commit
39bf28f5d2
|
@ -47,7 +47,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() { return "CTEST_BUILD";}
|
||||
virtual const char* GetName() { return "ctest_build";}
|
||||
|
||||
/**
|
||||
* Succinct documentation.
|
||||
|
@ -63,7 +63,7 @@ public:
|
|||
virtual const char* GetFullDocumentation()
|
||||
{
|
||||
return
|
||||
" CTEST_BUILD([BUILD build_dir] [RETURN_VALUE res])\n"
|
||||
" ctest_build([BUILD build_dir] [RETURN_VALUE res])\n"
|
||||
"Builds the given build directory and stores results in Build.xml.";
|
||||
}
|
||||
|
||||
|
|
|
@ -44,7 +44,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() { return "CTEST_CONFIGURE";}
|
||||
virtual const char* GetName() { return "ctest_configure";}
|
||||
|
||||
/**
|
||||
* Succinct documentation.
|
||||
|
@ -60,7 +60,7 @@ public:
|
|||
virtual const char* GetFullDocumentation()
|
||||
{
|
||||
return
|
||||
" CTEST_CONFIGURE(BUILD build_dir RETURN_VALUE res)\n"
|
||||
" ctest_configure(BUILD build_dir RETURN_VALUE res)\n"
|
||||
"Configures the given build directory and stores results in "
|
||||
"Configure.xml. The second argument is a variable that will hold "
|
||||
"return value.";
|
||||
|
|
|
@ -44,7 +44,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() { return "CTEST_COVERAGE";}
|
||||
virtual const char* GetName() { return "ctest_coverage";}
|
||||
|
||||
/**
|
||||
* Succinct documentation.
|
||||
|
@ -60,7 +60,7 @@ public:
|
|||
virtual const char* GetFullDocumentation()
|
||||
{
|
||||
return
|
||||
" CTEST_COVERAGE([BUILD build_dir] [RETURN_VALUE res])\n"
|
||||
" ctest_coverage([BUILD build_dir] [RETURN_VALUE res])\n"
|
||||
"Perform the coverage of the given build directory and stores results "
|
||||
"in Coverage.xml. The second argument is a variable that will hold "
|
||||
"value.";
|
||||
|
|
|
@ -53,7 +53,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() { return "CTEST_EMPTY_BINARY_DIRECTORY";}
|
||||
virtual const char* GetName() { return "ctest_empty_binary_directory";}
|
||||
|
||||
/**
|
||||
* Succinct documentation.
|
||||
|
@ -69,7 +69,7 @@ public:
|
|||
virtual const char* GetFullDocumentation()
|
||||
{
|
||||
return
|
||||
" CTEST_EMPTY_BINARY_DIRECTORY( directory )\n"
|
||||
" ctest_empty_binary_directory( directory )\n"
|
||||
"Removes a binary directory. This command will perform some checks "
|
||||
"prior to deleting the directory in an attempt to avoid malicious "
|
||||
"or accidental directory deletion.";
|
||||
|
|
|
@ -46,7 +46,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() { return "CTEST_MEMCHECK";}
|
||||
virtual const char* GetName() { return "ctest_memcheck";}
|
||||
|
||||
/**
|
||||
* Succinct documentation.
|
||||
|
@ -62,7 +62,7 @@ public:
|
|||
virtual const char* GetFullDocumentation()
|
||||
{
|
||||
return
|
||||
" CTEST_MEMCHECK([BUILD build_dir] [RETURN_VALUE res])\n"
|
||||
" ctest_memcheck([BUILD build_dir] [RETURN_VALUE res])\n"
|
||||
"Performs a memory checking of tests in the given build directory and "
|
||||
"stores results in MemCheck.xml. The second argument is a variable "
|
||||
"that will hold value.";
|
||||
|
|
|
@ -51,7 +51,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() { return "CTEST_READ_CUSTOM_FILES";}
|
||||
virtual const char* GetName() { return "ctest_read_custom_files";}
|
||||
|
||||
/**
|
||||
* Succinct documentation.
|
||||
|
@ -67,7 +67,7 @@ public:
|
|||
virtual const char* GetFullDocumentation()
|
||||
{
|
||||
return
|
||||
" CTEST_READ_CUSTOM_FILES( directory ... )\n"
|
||||
" ctest_read_custom_files( directory ... )\n"
|
||||
"Read all the CTestCustom.ctest or CTestCustom.cmake files from "
|
||||
"the given directory.";
|
||||
}
|
||||
|
|
|
@ -52,7 +52,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() { return "CTEST_RUN_SCRIPT";}
|
||||
virtual const char* GetName() { return "ctest_run_script";}
|
||||
|
||||
/**
|
||||
* Succinct documentation.
|
||||
|
@ -68,7 +68,7 @@ public:
|
|||
virtual const char* GetFullDocumentation()
|
||||
{
|
||||
return
|
||||
" CTEST_RUN_SCRIPT([NEW_PROCESS] script_file_name script_file_name1 \n"
|
||||
" ctest_run_script([NEW_PROCESS] script_file_name script_file_name1 \n"
|
||||
" script_file_name2 ...)\n"
|
||||
"Runs a script or scripts much like if it was run from ctest -S. "
|
||||
"If no argument is provided then the current script is run using "
|
||||
|
|
|
@ -52,7 +52,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() { return "CTEST_SLEEP";}
|
||||
virtual const char* GetName() { return "ctest_sleep";}
|
||||
|
||||
/**
|
||||
* Succinct documentation.
|
||||
|
@ -68,8 +68,8 @@ public:
|
|||
virtual const char* GetFullDocumentation()
|
||||
{
|
||||
return
|
||||
" CTEST_SLEEP( seconds )\n"
|
||||
" CTEST_SLEEP( time1 duration time2 )\n"
|
||||
" 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.";
|
||||
|
|
|
@ -51,7 +51,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() { return "CTEST_START";}
|
||||
virtual const char* GetName() { return "ctest_start";}
|
||||
|
||||
/**
|
||||
* Succinct documentation.
|
||||
|
@ -67,7 +67,7 @@ public:
|
|||
virtual const char* GetFullDocumentation()
|
||||
{
|
||||
return
|
||||
" CTEST_START(Model [TRACK <track>] [source [binary]])\n"
|
||||
" ctest_start(Model [TRACK <track>] [source [binary]])\n"
|
||||
"Starts the testing for a given model. The command should be called "
|
||||
"after the binary directory is initialized. If the 'source' and "
|
||||
"'binary' directory are not specified, it reads the "
|
||||
|
|
|
@ -45,7 +45,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() { return "CTEST_SUBMIT";}
|
||||
virtual const char* GetName() { return "ctest_submit";}
|
||||
|
||||
/**
|
||||
* Succinct documentation.
|
||||
|
@ -61,7 +61,7 @@ public:
|
|||
virtual const char* GetFullDocumentation()
|
||||
{
|
||||
return
|
||||
" CTEST_SUBMIT([RETURN_VALUE res])\n"
|
||||
" ctest_submit([RETURN_VALUE res])\n"
|
||||
"Submits the test results for the project.";
|
||||
}
|
||||
|
||||
|
|
|
@ -44,7 +44,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() { return "CTEST_UPDATE";}
|
||||
virtual const char* GetName() { return "ctest_update";}
|
||||
|
||||
/**
|
||||
* Succinct documentation.
|
||||
|
@ -60,7 +60,7 @@ public:
|
|||
virtual const char* GetFullDocumentation()
|
||||
{
|
||||
return
|
||||
" CTEST_UPDATE([SOURCE source] [RETURN_VALUE res])\n"
|
||||
" ctest_update([SOURCE source] [RETURN_VALUE res])\n"
|
||||
"Updates the given source directory and stores results in Update.xml. "
|
||||
"The second argument is a variable that will hold the number of files "
|
||||
"modified. If there is a problem, the variable will be -1.";
|
||||
|
|
Loading…
Reference in New Issue