[vtk-developers] Testing of CXX files in VTK
Bill Hoffman
bill.hoffman at kitware.com
Fri Aug 9 14:34:32 EDT 2002
The test driver source is auto-generated by cmake. There are some advanced
options to the command that allow you to put hooks into the command line processing.
You can add an include file into the test driver, and call a function that has
takes argv,argc and does processing.
It looks like this:
CREATE_TEST_SOURCELIST(SourceListName DriverName test1 test2 test3 "
"EXTRA_INCLUDE include.h FUNCTION function)
So you could create a vtkCommanLine.h that had
int ProcessCommandLine(int ac, char* av[])
{
....
}
CREATE_TEST_SOURCELIST(SourceListName DriverName test1 test2 test3 "
"EXTRA_INCLUDE vtkCommandLine.h FUNCTION ProcessCommandLine)
-Bill
At 02:17 PM 8/9/2002 -0400, Lorensen, William E (Research) wrote:
>Ken,
>
>Is the test driver source available somewhere? In itk, I modified the driver so that you could
>specify how many threads to use for the test. A similar enhnacement may prove useful in vtk.
>
>Bill
>_______________________________________________
>vtk-developers mailing list
>vtk-developers at public.kitware.com
>http://public.kitware.com/mailman/listinfo/vtk-developers
More information about the vtk-developers
mailing list