From 64ec7c3f80ac933b9092c42d27cd1766bb395145 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Thu, 22 Oct 2020 04:48:11 -0700 Subject: binutils: Report error message on error * testsuite/binutils-all/objcopy.exp (objcopy_test): Report error message on error. --- binutils/ChangeLog | 5 +++++ binutils/testsuite/binutils-all/objcopy.exp | 1 + 2 files changed, 6 insertions(+) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index f12caf8..4c14fd1 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2020-10-22 H.J. Lu + + * testsuite/binutils-all/objcopy.exp (objcopy_test): Report + error message on error. + 2020-10-22 Dr. David Alan Gilbert * windmc.c (write_header_define): Fix printf format. diff --git a/binutils/testsuite/binutils-all/objcopy.exp b/binutils/testsuite/binutils-all/objcopy.exp index 47c3a48..9eff6a9 100644 --- a/binutils/testsuite/binutils-all/objcopy.exp +++ b/binutils/testsuite/binutils-all/objcopy.exp @@ -82,6 +82,7 @@ proc objcopy_test {testname srcfile type asflags ldflags} { set got [binutils_run $OBJCOPY "$OBJCOPYFLAGS $xflags $t_tempfile $t_copyfile"] if ![string equal "" $got] then { + send_log "$got\n" fail "objcopy $type ($testname)" } else { send_log "cmp $t_tempfile $t_copyfile\n" -- cgit v1.1