Append an extra parameters when running tests
This issue was created automatically from an original Mantis Issue. Further discussion may take place here. Main part of the description repeated below for convenience:
It would be nice to append extra parameters when running single or multiple tests without modification to CMakeLists.txt
For example some test:
>ctest -C Release -I 49,49,1 -V -N
49: Test command: D:\itkResampleImageFilterBSplineTransformTest.exe "-in" "D:/image-256x256x256-3D.mha" "-inpar" "D:/BSplineDisplacements2-3D.txt" "-nooutput" "-i" "BSpline" "-rsm" "1.5"
I would like to append extra option to this test, something like "-t" "0.5", without modification to CMakeLists.txt.
Let the new possible call look like this:
>ctest -C Release -I 49,49,1 -V -N -ADD "-t" "0.5"
49: Test command: D:\itkResampleImageFilterBSplineTransformTest.exe "-in" "D:/image-256x256x256-3D.mha" "-inpar" "D:/BSplineDisplacements2-3D.txt" "-nooutput" "-i" "BSpline" "-rsm" "1.5" "-t" "0.5"
If that is already possible with ctest then correct me, but I think it is not.