<div dir="ltr">On Wed, Jul 17, 2013 at 6:48 PM, Rafael Espíndola <span dir="ltr"><<a href="mailto:rafael.espindola@gmail.com" target="_blank" class="cremed">rafael.espindola@gmail.com</a>></span> wrote:<br><div class="gmail_extra">
<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">> Hi Rafael,<br>
><br>
> Did this discussion ever get a conclusion? I support enabling<br>
> pipefail. Fallout for out of tree users should be easy to fix. As we<br>
> learned from LLVM tests, almost all tests that start to fail actually<br>
> indicate a real problem that was hidden.<br>
<br>
</div>So far I got some positive feedback, but no strong LGTM from someone<br>
in the area :-(<br></blockquote><div><br></div><div>Ok, here is a strong LGTM. =]</div><div><br></div><div>Please make the change, and do the following things to aid out-of-tree maintainers:</div><div><br></div><div>1) Add a flag to lit and an option to configure/make (I don't care about CMake here as that is much less frequently used for out-of-tree work) to disable pipefail.</div>
<div><br></div><div>2) Add a way to disable this behavior using the lit '.cfg' files, especially the 'lit.local.cfg' files. This way out-of-tree targets can put such a .cfg file in their target's test directory and ignore this change.</div>
<div><br></div><div>3) Add some significant documentation for what this means to both the lit documentation and to the release notes so that folks are aware of the test infrastructure change when they pick up a giant pile of changes in the release</div>
<div><br></div><div>Also, please send a note (in a new thread) to llvmdev when the switch is flipped with a reminder about how to disable the new behavior for folks that can't update their test suite. You'll probably want to flip the switch when you have time to track down lots of build bot failures. =D</div>
<div><br></div><div>Thanks for making the test infrastructure better,</div><div>-Chandler</div></div></div></div>