<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:bburg@apple.com" title="Brian Burg <bburg@apple.com>"> <span class="fn">Brian Burg</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WONTFIX - build-webkit | filter-build-webkit returns success even when build-webkit fails"
href="https://bugs.webkit.org/show_bug.cgi?id=83226">bug 83226</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>bburg@apple.com
</td>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>WONTFIX
</td>
</tr>
<tr>
<td style="text-align:right;">See Also</td>
<td>
</td>
<td>https://bugs.webkit.org/show_bug.cgi?id=67523
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WONTFIX - build-webkit | filter-build-webkit returns success even when build-webkit fails"
href="https://bugs.webkit.org/show_bug.cgi?id=83226#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WONTFIX - build-webkit | filter-build-webkit returns success even when build-webkit fails"
href="https://bugs.webkit.org/show_bug.cgi?id=83226">bug 83226</a>
from <span class="vcard"><a class="email" href="mailto:bburg@apple.com" title="Brian Burg <bburg@apple.com>"> <span class="fn">Brian Burg</span></a>
</span></b>
<pre>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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>