ENH: make test driver more flexible by using a configured file instead of generating all the code. fixes bug 28

This commit is contained in:
Bill Hoffman
2004-04-28 12:31:18 -04:00
parent df31c576dc
commit e539cf9f7c
3 changed files with 213 additions and 156 deletions
+5 -1
View File
@@ -84,7 +84,11 @@ public:
"next argument is included into the generated file. If FUNCTION is "
"specified, then the next argument is taken as a function name that "
"is passed a pointer to ac and av. This can be used to add extra "
"command line processing to each test. ";
"command line processing to each test. The cmake variable "
"CMAKE_TESTDRIVER_BEFORE_TESTMAIN can be set to have code that will be "
"placed directly before calling the test main function. "
"CMAKE_TESTDRIVER_AFTER_TESTMAIN can be set to have code that will be "
"placed directly after the call to the test main function.";
}
cmTypeMacro(cmCreateTestSourceList, cmCommand);