[cmake-developers] [CMake 0013168]: Append an extra parameters when running tests

Mantis Bug Tracker mantis at public.kitware.com
Wed Apr 25 10:12:59 EDT 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=13168 
====================================================================== 
Reported By:                Denis Shamonin
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13168
Category:                   CTest
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-04-25 10:12 EDT
Last Modified:              2012-04-25 10:12 EDT
====================================================================== 
Summary:                    Append an extra parameters when running tests
Description: 
Hi,

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.

Thanks,
Denis


====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-04-25 10:12 Denis Shamonin New Issue                                    
======================================================================




More information about the cmake-developers mailing list