<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">
<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: 12pt;">hi,<br>
<br>
the problem I'm getting that doesn't cause any of the desired effects you described is this:<br>
<br>
runtime error: unsigned integer overflow: 1 - 32 cannot be represented in type 'unsigned int'<br>
SUMMARY: AddressSanitizer: undefined-behavior<br>
<br>
Maybe it's the only issue that doesn't crash the process<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF663173"><font face="Tahoma" color="#000000" size="2"><b>Od:</b> ext Alexey Samsonov [vonosmas@gmail.com]<br>
<b>Wysłano:</b> 29 kwietnia 2015 20:27<br>
<b>Do:</b> Stepniak, Artur (Nokia - PL/Wroclaw)<br>
<b>DW:</b> cfe-users@cs.uiuc.edu<br>
<b>Temat:</b> Re: [cfe-users] marking gtest runs as failed when errors by sanitizers are found<br>
</font><br>
</div>
<div></div>
<div>
<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" target="_blank">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>
</div>
</div>
</div>
</body>
</html>