<div dir="ltr"><div><div>Looks good for me. Please commit.<br><br></div>Thanks<br><br></div>Galina<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, May 23, 2013 at 5:51 AM, Alexey Samsonov <span dir="ltr"><<a href="mailto:samsonov@google.com" target="_blank">samsonov@google.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi, Galina!<div><br></div><div>We have our private buildbots that run tests for sanitizer projects (AddressSanitizer, ThreadSanitizer,</div>
<div>MemorySanitizer etc.), but we'd like to make them visible to LLVM community, and ease the process</div>
<div>of adding more bots by contributors (e.g. Bill is interested in the bot on PowerPC).</div><div><br></div><div>This patch adds two files:</div><div>1) zorg/buildbot/commands/AnnotatedCommand.py is a handy buildbot command copied from Chromium project. It can run a random shell command and parse its output to understand build steps</div>

<div>and their results. This makes writing buildbot scripts much easier, as one don't have to implement a custom "step" in Python every time.</div><div><br></div><div>2) zorg/buildbot/builders/SanitizerBuilder.py implements a build factory to test sanitizers (AddressSanitizer, ThreadSanitizer, MemorySanitizer etc). Note that actual buildbot scripts are</div>

<div>somewhat complicated and are stored in a separate repository:</div><div><a href="https://code.google.com/p/address-sanitizer/source/browse/#svn%2Ftrunk%2Fbuild%2Fscripts%2Fslave" target="_blank">https://code.google.com/p/address-sanitizer/source/browse/#svn%2Ftrunk%2Fbuild%2Fscripts%2Fslave</a><br>

</div><div>Using AnnotatedCommand will allow us to update buildbot scripts w/o modifying master on zorg.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>-- <br><div>Alexey Samsonov, MSK</div>
</div></font></span></div>
</blockquote></div><br></div>