View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014287CMakeCTestpublic2013-07-11 17:592016-06-10 14:31
ReporterRolf Eike Beer 
Assigned ToKitware Robot 
PrioritynormalSeverityfeatureReproducibilityalways
StatusclosedResolutionmoved 
PlatformOSOS Version
Product VersionCMake 2.8.11.2 
Target VersionFixed in Version 
Summary0014287: CTest options should be cumulative
DescriptionWriting a commandline like "ctest -R (foo|bar)" requires quoting of the regex e.g. with bash as bash tries to interpret (|) itself. Also if the number of expressions grows those regexes become clumsy.

It would be very nice if the same could be achieved by simply calling ctest -R foo -R bar. The same probably applies to -L, -LE, -E, -I, and maybe also -A.

For the moment it would be at least helpful to warn if any of these is used multiple times so it is obvious why it doesn't work.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0033528)
Jean-Christophe Fillion-Robin (reporter)
2013-07-11 18:05

Agreed. That would be helpful.
(0033529)
Marcel Loose (developer)
2013-07-12 04:52

You can use (single|double) quotes, to stop bash from interpreting the pipe symbol.

  $ ctest -R 'foo|bar'

will do the trick.
(0042318)
Kitware Robot (administrator)
2016-06-10 14:29

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2013-07-11 17:59 Rolf Eike Beer New Issue
2013-07-11 18:05 Jean-Christophe Fillion-Robin Note Added: 0033528
2013-07-12 04:52 Marcel Loose Note Added: 0033529
2013-07-15 08:32 Brad King Status new => backlog
2016-06-10 14:29 Kitware Robot Note Added: 0042318
2016-06-10 14:29 Kitware Robot Status backlog => resolved
2016-06-10 14:29 Kitware Robot Resolution open => moved
2016-06-10 14:29 Kitware Robot Assigned To => Kitware Robot
2016-06-10 14:31 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team