mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-11 01:48:46 +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:
@ -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"
|
||||
|
Reference in New Issue
Block a user