<div dir="ltr">On 3 April 2013 14:59, Timur Iskhodzhanov <span dir="ltr"><<a href="mailto:timurrrr@google.com" target="_blank">timurrrr@google.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">I'd usually expect tests to work exactly the same way on all platforms.<br>

If there are things that must be handled differently on different<br>
platforms, I'd expect those to have a separate test for each platform<br>
with explicit flags for each of these platforms.<br></blockquote><div><br></div><div style>You're absolutely right, but the tests don't necessarily follow the accepted model.</div><div style><br></div><div style>
The main causes of build failure, to my experience are, in order of probability:</div><div style><br></div><div style>* Bad tests, testing for order in random output or machine-specific behaviour (lib version, etc)</div><div style>
* Target-specific behaviour on target agnostic tests (as you say, it can be easily fixed)</div><div style>* autoconf vs. CMake issues</div><div style>* bug in LLVM/Clang</div><div style><br></div></div></div><div class="gmail_extra">
What I do is to contact the responsible for the bot and ask him/her to give me more info on the failure, so I can start the debug process, and go back and forth until the bug is fixed. The owner can be queried on the bot's page:</div>
<div class="gmail_extra"><br></div><div class="gmail_extra"><a href="http://lab.llvm.org:8011/buildslaves/atom1-buildbot">http://lab.llvm.org:8011/buildslaves/atom1-buildbot</a><br></div><div class="gmail_extra"><br></div>
<div class="gmail_extra" style>cheers,<br></div><div class="gmail_extra" style>--renato</div></div>