Browse Source

binutils: Report error message on error

* testsuite/binutils-all/objcopy.exp (objcopy_test): Report
	error message on error.
binutils-2_36-branch
H.J. Lu 6 years ago
parent
commit
64ec7c3f80
  1. 5
      binutils/ChangeLog
  2. 1
      binutils/testsuite/binutils-all/objcopy.exp

5
binutils/ChangeLog

@ -1,3 +1,8 @@
2020-10-22 H.J. Lu <hongjiu.lu@intel.com>
* testsuite/binutils-all/objcopy.exp (objcopy_test): Report
error message on error.
2020-10-22 Dr. David Alan Gilbert <dgilbert@redhat.com>
* windmc.c (write_header_define): Fix printf format.

1
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"

Loading…
Cancel
Save