[PATCH] binutils: Report error message on error
H.J. Lu
hjl.tools@gmail.com
Thu Oct 22 03:07:44 GMT 2020
* testsuite/binutils-all/objcopy.exp (objcopy_test): Report
error message on error.
---
binutils/testsuite/binutils-all/objcopy.exp | 1 +
1 file changed, 1 insertion(+)
diff --git a/binutils/testsuite/binutils-all/objcopy.exp b/binutils/testsuite/binutils-all/objcopy.exp
index 47c3a48414..9eff6a9afb 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"
--
2.26.2
More information about the Binutils
mailing list