[patch] Use "set -o pipefail"

Rafael EspĂ­ndola rafael.espindola at gmail.com
Thu Jul 4 15:07:14 PDT 2013


> It seems somewhat dangerous, though, since a test that is meant to
> exit with a non-zero status could start crashing instead without
> causing any test failures (depending on what other checks were in the
> pipeline).

Good point.

> Maybe this should be another utility instead? It could even be the
> same binary but symlinked and have the behavior depend on the name...

I have added a --crash option to not instead. New patches for llvm and
clang are attached.

> Stephen

Cheers,
Rafael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: llvm.patch
Type: application/octet-stream
Size: 3626 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130704/a171bf1b/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang.patch
Type: application/octet-stream
Size: 955 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130704/a171bf1b/attachment-0001.obj>


More information about the llvm-commits mailing list