Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • CMake CMake
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 4.2k
    • Issues 4.2k
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 11
    • Merge requests 11
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • CMakeCMake
  • CMakeCMake
  • Issues
  • #13168
Closed (duplicated) (duplicated)
Open
Issue created Apr 24, 2012 by Kitware Robot@kwrobotOwner

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.

Edited Feb 21, 2021 by Craig Scott
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking