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->IncludeLabelRegExp.empty() )
and I expect that it should be: if ( !this->ExcludeLabelRegExp.empty() ) Kind regards, William
-- 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
