[vtk-developers] Single test file used for more than one test?

Cory Quammen cory.quammen at kitware.com
Thu Sep 11 11:07:24 EDT 2014


Hi all,

I'm writing a VTK test that takes some command-line arguments to
control some options in a filter. What I would like to do is define
several tests in the CMakeLists.txt file that run this same code but
which pass different arguments in through argv[].

I haven't found an example of this kind of test in VTK. Most tests are
defined by passing to vtk_add_test_cxx the name of the source file for
the test.

Can anyone point me to an example similar to what I want to do?

Thanks!
Cory


More information about the vtk-developers mailing list