[CMake] Issue in CTest when both --label-regex and --label-exclude is used

Nils Gladitz nilsgladitz at gmail.com
Fri Jun 6 04:33:42 EDT 2014


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



More information about the CMake mailing list