This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [GOLD] Propagate error status from awk in tests


On Mon, Jan 9, 2017 at 3:05 PM, Rahul Chaudhry via binutils
<binutils@sourceware.org> wrote:
> Some tests in gold/testsuite/ run awk to check for errors.
> The awk scripts use "exit 1" to indicate test failure, but
> the shell scripts didn't check for the exit status from awk.
> This patch adds the checks so failing tests actually fail.

In general the shell scripts use `set -e` to pick up failures in
programs that they run.  Why isn't that working here?

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]