diff options
author | Dan Liew <dan@su-root.co.uk> | 2015-07-07 15:50:33 +0000 |
---|---|---|
committer | Dan Liew <dan@su-root.co.uk> | 2015-07-07 15:50:33 +0000 |
commit | bbe97556c18f3f528b3ad1305a517a1c848b5c24 (patch) | |
tree | 8c7937e549228a3e6415d5c102678368d25bc668 /llvm/lib/Target/Hexagon/HexagonBitTracker.cpp | |
parent | f631f2d2685f12450f684b06f78eceaa52e26b99 (diff) | |
download | bcm5719-llvm-bbe97556c18f3f528b3ad1305a517a1c848b5c24.tar.gz bcm5719-llvm-bbe97556c18f3f528b3ad1305a517a1c848b5c24.zip |
Fix bug in test-release.sh where the script would not exit if any
of the build stages that are sent through a pipe (e.g. tee) failed.
This potentially allowed builds and/or tests to fail without anyone
noticing. It appears that for the LLVM 3.6.[01] releases this actually
happened for the Ubuntu 14.04LTS binary releases. The essence of the
issue is that without ``set -o pipefail`` the following command in bash
has a zero exit code.
false | tee /dev/null ; exit $?
llvm-svn: 241599
Diffstat (limited to 'llvm/lib/Target/Hexagon/HexagonBitTracker.cpp')
0 files changed, 0 insertions, 0 deletions