diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2020-10-22 04:48:11 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2020-10-22 04:48:29 -0700 |
commit | 64ec7c3f80ac933b9092c42d27cd1766bb395145 (patch) | |
tree | c8706890a7f4c18015dd1e6f6703019489c240ba /binutils/testsuite | |
parent | 777cd7ab3febadcdad52e3231e960af86e8742da (diff) | |
download | gdb-64ec7c3f80ac933b9092c42d27cd1766bb395145.zip gdb-64ec7c3f80ac933b9092c42d27cd1766bb395145.tar.gz gdb-64ec7c3f80ac933b9092c42d27cd1766bb395145.tar.bz2 |
binutils: Report error message on error
* testsuite/binutils-all/objcopy.exp (objcopy_test): Report
error message on error.
Diffstat (limited to 'binutils/testsuite')
-rw-r--r-- | binutils/testsuite/binutils-all/objcopy.exp | 1 |
1 files changed, 1 insertions, 0 deletions
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" |