On 4 February 2011 10:34, Robert Collins <email address hidden> wrote:
> Perhaps you could just set pipefile in Makefile ?
s//pipefail
This would make it bash-specific, and we're probably generally not
running bash, and it would need to be done on the same line, since
Make runs each line in a separate process. But otherwise yes.
The thing is if we make it exit nonzero on failure, we should not need
to have a pipeline at all, as far as I can see. Just emit subunit to
stdout and pqm should be able to use that both for the progress
display and to send to the user if it fails.
On 4 February 2011 10:34, Robert Collins <email address hidden> wrote:
> Perhaps you could just set pipefile in Makefile ?
s//pipefail
This would make it bash-specific, and we're probably generally not
running bash, and it would need to be done on the same line, since
Make runs each line in a separate process. But otherwise yes.
The thing is if we make it exit nonzero on failure, we should not need
to have a pipeline at all, as far as I can see. Just emit subunit to
stdout and pqm should be able to use that both for the progress
display and to send to the user if it fails.