diff options
Diffstat (limited to 'binutils/testsuite/lib/utils-lib.exp')
-rw-r--r-- | binutils/testsuite/lib/utils-lib.exp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/binutils/testsuite/lib/utils-lib.exp b/binutils/testsuite/lib/utils-lib.exp index bb819a3..f7970b2 100644 --- a/binutils/testsuite/lib/utils-lib.exp +++ b/binutils/testsuite/lib/utils-lib.exp @@ -73,6 +73,12 @@ proc default_binutils_run { prog progargs } { if {![string match "" $exec_output]} then { send_log "$exec_output\n" verbose "$exec_output" + } else { + if { [lindex $state 0] != 0 } { + set exec_output "$prog exited with status [lindex $state 0]" + send_log "$exec_output\n" + verbose "$exec_output" + } } return $exec_output } |