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:
Alexander Neundorf 2008-05-12 09:11:51 -04:00
parent ab2cb66dd8
commit 39bf28f5d2
11 changed files with 23 additions and 23 deletions

View File

@ -47,7 +47,7 @@ public:
/** /**
* The name of the command as specified in CMakeList.txt. * 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. * Succinct documentation.
@ -63,7 +63,7 @@ public:
virtual const char* GetFullDocumentation() virtual const char* GetFullDocumentation()
{ {
return 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."; "Builds the given build directory and stores results in Build.xml.";
} }

View File

@ -44,7 +44,7 @@ public:
/** /**
* The name of the command as specified in CMakeList.txt. * 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. * Succinct documentation.
@ -60,7 +60,7 @@ public:
virtual const char* GetFullDocumentation() virtual const char* GetFullDocumentation()
{ {
return 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 " "Configures the given build directory and stores results in "
"Configure.xml. The second argument is a variable that will hold " "Configure.xml. The second argument is a variable that will hold "
"return value."; "return value.";

View File

@ -44,7 +44,7 @@ public:
/** /**
* The name of the command as specified in CMakeList.txt. * 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. * Succinct documentation.
@ -60,7 +60,7 @@ public:
virtual const char* GetFullDocumentation() virtual const char* GetFullDocumentation()
{ {
return 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 " "Perform the coverage of the given build directory and stores results "
"in Coverage.xml. The second argument is a variable that will hold " "in Coverage.xml. The second argument is a variable that will hold "
"value."; "value.";

View File

@ -53,7 +53,7 @@ public:
/** /**
* The name of the command as specified in CMakeList.txt. * 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. * Succinct documentation.
@ -69,7 +69,7 @@ public:
virtual const char* GetFullDocumentation() virtual const char* GetFullDocumentation()
{ {
return return
" CTEST_EMPTY_BINARY_DIRECTORY( directory )\n" " ctest_empty_binary_directory( directory )\n"
"Removes a binary directory. This command will perform some checks " "Removes a binary directory. This command will perform some checks "
"prior to deleting the directory in an attempt to avoid malicious " "prior to deleting the directory in an attempt to avoid malicious "
"or accidental directory deletion."; "or accidental directory deletion.";

View File

@ -46,7 +46,7 @@ public:
/** /**
* The name of the command as specified in CMakeList.txt. * 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. * Succinct documentation.
@ -62,7 +62,7 @@ public:
virtual const char* GetFullDocumentation() virtual const char* GetFullDocumentation()
{ {
return 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 " "Performs a memory checking of tests in the given build directory and "
"stores results in MemCheck.xml. The second argument is a variable " "stores results in MemCheck.xml. The second argument is a variable "
"that will hold value."; "that will hold value.";

View File

@ -51,7 +51,7 @@ public:
/** /**
* The name of the command as specified in CMakeList.txt. * 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. * Succinct documentation.
@ -67,7 +67,7 @@ public:
virtual const char* GetFullDocumentation() virtual const char* GetFullDocumentation()
{ {
return return
" CTEST_READ_CUSTOM_FILES( directory ... )\n" " ctest_read_custom_files( directory ... )\n"
"Read all the CTestCustom.ctest or CTestCustom.cmake files from " "Read all the CTestCustom.ctest or CTestCustom.cmake files from "
"the given directory."; "the given directory.";
} }

View File

@ -52,7 +52,7 @@ public:
/** /**
* The name of the command as specified in CMakeList.txt. * 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. * Succinct documentation.
@ -68,7 +68,7 @@ public:
virtual const char* GetFullDocumentation() virtual const char* GetFullDocumentation()
{ {
return 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" " script_file_name2 ...)\n"
"Runs a script or scripts much like if it was run from ctest -S. " "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 " "If no argument is provided then the current script is run using "

View File

@ -52,7 +52,7 @@ public:
/** /**
* The name of the command as specified in CMakeList.txt. * 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. * Succinct documentation.
@ -68,8 +68,8 @@ 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" " ctest_sleep( time1 duration time2 )\n"
"With one argument it will sleep for a given number of seconds. " "With one argument it will sleep for a given number of seconds. "
"With three arguments it will wait for time2 - time1 - duration " "With three arguments it will wait for time2 - time1 - duration "
"seconds."; "seconds.";

View File

@ -51,7 +51,7 @@ public:
/** /**
* The name of the command as specified in CMakeList.txt. * 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. * Succinct documentation.
@ -67,7 +67,7 @@ public:
virtual const char* GetFullDocumentation() virtual const char* GetFullDocumentation()
{ {
return 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 " "Starts the testing for a given model. The command should be called "
"after the binary directory is initialized. If the 'source' and " "after the binary directory is initialized. If the 'source' and "
"'binary' directory are not specified, it reads the " "'binary' directory are not specified, it reads the "

View File

@ -45,7 +45,7 @@ public:
/** /**
* The name of the command as specified in CMakeList.txt. * 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. * Succinct documentation.
@ -61,7 +61,7 @@ public:
virtual const char* GetFullDocumentation() virtual const char* GetFullDocumentation()
{ {
return return
" CTEST_SUBMIT([RETURN_VALUE res])\n" " ctest_submit([RETURN_VALUE res])\n"
"Submits the test results for the project."; "Submits the test results for the project.";
} }

View File

@ -44,7 +44,7 @@ public:
/** /**
* The name of the command as specified in CMakeList.txt. * 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. * Succinct documentation.
@ -60,7 +60,7 @@ public:
virtual const char* GetFullDocumentation() virtual const char* GetFullDocumentation()
{ {
return 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. " "Updates the given source directory and stores results in Update.xml. "
"The second argument is a variable that will hold the number of files " "The second argument is a variable that will hold the number of files "
"modified. If there is a problem, the variable will be -1."; "modified. If there is a problem, the variable will be -1.";