<div dir="ltr">Hi!<div><br></div><div>What specific sanitizer do you refer to? They behave differently - e.g. ASan and MSan by default crash the process after the fist bug is found. TSan prints all the error reports, and tries to crash the process with non-zero exitcode at the end, if at least one issue was found. UBSan by default doesn't crash the process, but can be instructed to do so by adding -fno-sanitize-recover=all to your compile flags.</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 29, 2015 at 12:19 AM, Stepniak, Artur (Nokia - PL/Wroclaw) <span dir="ltr"><<a href="mailto:artur.stepniak@nokia.com" target="_blank">artur.stepniak@nokia.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div>
<div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:12pt">Hi,<br>
<br>
as in the topic. Currently when errors by clang sanitizers are found the tests is still marked as passed which complicates our CI because we'd need to implement parsing of console output. Is there a way to make gtest fail in such situation?<br>
<br>
Regards,<br>
Artur<br>
</div>
</div>

<br>_______________________________________________<br>
cfe-users mailing list<br>
<a href="mailto:cfe-users@cs.uiuc.edu">cfe-users@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-users" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Alexey Samsonov<br><a href="mailto:vonosmas@gmail.com" target="_blank">vonosmas@gmail.com</a></div></div>
</div>