On 06/05/2014 12:03 PM, William Deurwaarder wrote:
Hi,

When both --label-regex and --label-exclude is used to filter tests in
CTest the result is always 'No tests were found!!!'. In my opinion this
is caused by a small error in ./Source/CTest/cmCTestTestHandler.cxx line
1530 (CMake 2.8.12) or line 1561 (CMake 3.0.0-rc3) where the statement is:
    if ( !this->*In*cludeLabelRegExp.empty() )

and I expect that it should be:
    if ( !this->*Ex*cludeLabelRegExp.empty() )

Kind regards,
William

Thank you.

I pushed a fix for testing:
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=887532f0f097fc90f481174ba7cfa08bde9d9195

Nils

--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to