MantisBT - CMake
View Issue Details
0014993CMakeCTestpublic2014-06-26 03:462015-01-05 08:38
ycollet 
Nils Gladitz 
normalminoralways
closedfixed 
IntelWindowsWindows 7 64
CMake 2.8.12.2 
CMake 3.1 
0014993: ctest doesn't manage correctly the -LE and -L flags
I have added labels to my tests via:
set_tests_properties(MyTest PROPERTIES LABELS "LABEL1;LABEL2;FAIL")

I wanted to launch tests using the following command line:

ctest -L LABEL1 -LE FAIL

and no tests are launched.
If I start ctest -L LABEL1 some tests are launched.
If I start ctest -LE FAIL, some tests are launched.
No tags attached.
Issue History
2014-06-26 03:46ycolletNew Issue
2014-06-26 04:53Nils GladitzNote Added: 0036256
2014-06-26 04:53Nils GladitzStatusnew => resolved
2014-06-26 04:53Nils GladitzFixed in Version => CMake 3.1
2014-06-26 04:53Nils GladitzResolutionopen => fixed
2014-06-26 04:53Nils GladitzAssigned To => Nils Gladitz
2015-01-05 08:38Robert MaynardNote Added: 0037570
2015-01-05 08:38Robert MaynardStatusresolved => closed

Notes
(0036256)
Nils Gladitz   
2014-06-26 04:53   
Should be fixed by http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=887532f0f097fc90f481174ba7cfa08bde9d9195;hp=47cde18849201c3b58479d38725b554f3ad34eaf [^]

Which should be in CMake 3.1.
(0037570)
Robert Maynard   
2015-01-05 08:38   
Closing resolved issues that have not been updated in more than 4 months.