<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hi,<br>
<br>
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:<br>
if ( !this-><b>In</b>cludeLabelRegExp.empty() )<br>
<br>
and I expect that it should be:<br>
if ( !this-><b>Ex</b>cludeLabelRegExp.empty() )<br>
<br>
Kind regards,<br>
William<br>
</div>
</body>
</html>