[Webkit-unassigned] [Bug 83226] build-webkit | filter-build-webkit returns success even when build-webkit fails

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 6 10:26:39 PST 2016


https://bugs.webkit.org/show_bug.cgi?id=83226

Brian Burg <bburg at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bburg at apple.com
             Status|NEW                         |RESOLVED
         Resolution|---                         |WONTFIX
           See Also|                            |https://bugs.webkit.org/sho
                   |                            |w_bug.cgi?id=67523

--- Comment #5 from Brian Burg <bburg at apple.com> ---
There is nothing that we can change in filter-build-webkit (a perl script) to get the exit status from an earlier command in the pipeline.

There are two ways to get this behavior without changing any scripts:

1. In bash, use cmd1 |& cmd2 (shortcut for cmd1 2>&1 | cmd2). Then the BUILD FAILED detection will work.
2. In bash, run 'set -o pipefail'. This uses the leftmost non-zero return code from a pipeline rather than the rightmost program.

In the future, build-webkit should incorporate filter-build-webkit. If filter-build-webkit were running build commands, then it could capture and propagate the exit codes from its child processes.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160106/9c02a158/attachment.html>


More information about the webkit-unassigned mailing list