mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-16 12:24:19 +08:00
binutils: Report error message on error
* testsuite/binutils-all/objcopy.exp (objcopy_test): Report error message on error.
This commit is contained in:
@ -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>
|
2020-10-22 Dr. David Alan Gilbert <dgilbert@redhat.com>
|
||||||
|
|
||||||
* windmc.c (write_header_define): Fix printf format.
|
* windmc.c (write_header_define): Fix printf format.
|
||||||
|
@ -82,6 +82,7 @@ proc objcopy_test {testname srcfile type asflags ldflags} {
|
|||||||
set got [binutils_run $OBJCOPY "$OBJCOPYFLAGS $xflags $t_tempfile $t_copyfile"]
|
set got [binutils_run $OBJCOPY "$OBJCOPYFLAGS $xflags $t_tempfile $t_copyfile"]
|
||||||
|
|
||||||
if ![string equal "" $got] then {
|
if ![string equal "" $got] then {
|
||||||
|
send_log "$got\n"
|
||||||
fail "objcopy $type ($testname)"
|
fail "objcopy $type ($testname)"
|
||||||
} else {
|
} else {
|
||||||
send_log "cmp $t_tempfile $t_copyfile\n"
|
send_log "cmp $t_tempfile $t_copyfile\n"
|
||||||
|
Reference in New Issue
Block a user