<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;">
<p style="margin-top:0; margin-bottom:0"></p>
<p style="font-family:Calibri,Helvetica,sans-serif,serif,EmojiFont; font-size:16px">
Hi, </p>
<p style="font-family:Calibri,Helvetica,sans-serif,serif,EmojiFont; font-size:16px">
<br>
</p>
<p style="font-family:Calibri,Helvetica,sans-serif,serif,EmojiFont; font-size:16px">
I'm using ctest to build and test my project. I trying to use CTEST_CUSTOM_ERROR_MATCH to find a different type of errors but it is always defaulting back to "ERROR:". I am setting this variable in my CTestConfig.cmake. </p>
<p style="font-family:Calibri,Helvetica,sans-serif,serif,EmojiFont; font-size:16px">
<br>
</p>
<p style="font-family:Calibri,Helvetica,sans-serif,serif,EmojiFont; font-size:16px">
</p>
<div style="font-family:Calibri,Helvetica,sans-serif,serif,EmojiFont; font-size:16px">
set(CTEST_CUSTOM_ERROR_MATCH</div>
<div style="font-family:Calibri,Helvetica,sans-serif,serif,EmojiFont; font-size:16px">
"error1" </div>
<div style="font-family:Calibri,Helvetica,sans-serif,serif,EmojiFont; font-size:16px">
"error2"</div>
<div style="font-family:Calibri,Helvetica,sans-serif,serif,EmojiFont; font-size:16px">
"error3"</div>
<div style="font-family:Calibri,Helvetica,sans-serif,serif,EmojiFont; font-size:16px">
)</div>
<div style="font-family:Calibri,Helvetica,sans-serif,serif,EmojiFont; font-size:16px">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif,serif,EmojiFont; font-size:16px">
when I print the value, everything seems to be set correctly, but then on my CDash, i getting the default regex "Error regular expression found in output. Regex=[(<br /> |^)ERROR: ]"</div>
<div style="font-family:Calibri,Helvetica,sans-serif,serif,EmojiFont; font-size:16px">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif,serif,EmojiFont; font-size:16px">
Is this the correct way to change the default error regular expression? </div>
<div style="font-family:Calibri,Helvetica,sans-serif,serif,EmojiFont; font-size:16px">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif,serif,EmojiFont; font-size:16px">
thanks</div>
<div style="font-family:Calibri,Helvetica,sans-serif,serif,EmojiFont; font-size:16px">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif,serif,EmojiFont; font-size:16px">
Michal </div>
<br>
<p></p>
</div>
</body>
</html>