PATCH: [zorg] Add sanitizer build factory for sanitizer bots setup

Alexey Samsonov samsonov at google.com
Thu May 23 05:51:33 PDT 2013


Hi, Galina!

We have our private buildbots that run tests for sanitizer projects
(AddressSanitizer, ThreadSanitizer,
MemorySanitizer etc.), but we'd like to make them visible to LLVM
community, and ease the process
of adding more bots by contributors (e.g. Bill is interested in the bot on
PowerPC).

This patch adds two files:
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
and their results. This makes writing buildbot scripts much easier, as one
don't have to implement a custom "step" in Python every time.

2) zorg/buildbot/builders/SanitizerBuilder.py implements a build factory to
test sanitizers (AddressSanitizer, ThreadSanitizer, MemorySanitizer etc).
Note that actual buildbot scripts are
somewhat complicated and are stored in a separate repository:
https://code.google.com/p/address-sanitizer/source/browse/#svn%2Ftrunk%2Fbuild%2Fscripts%2Fslave
Using AnnotatedCommand will allow us to update buildbot scripts w/o
modifying master on zorg.

-- 
Alexey Samsonov, MSK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130523/5755680d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sanitizer_builder.diff
Type: application/octet-stream
Size: 18246 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130523/5755680d/attachment.obj>


More information about the llvm-commits mailing list