diff options
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/lib/mi-support.exp | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 2386c0a..f292251 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com> + + * lib/mi-support.exp (mi_gdb_test): Add additional message + for unexpected output. + 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com> * gdb.base/examine-backward.c (Barrier): New character array diff --git a/gdb/testsuite/lib/mi-support.exp b/gdb/testsuite/lib/mi-support.exp index 7c23922..5682b7e 100644 --- a/gdb/testsuite/lib/mi-support.exp +++ b/gdb/testsuite/lib/mi-support.exp @@ -824,7 +824,7 @@ proc mi_gdb_test { args } { } -re ".*$mi_gdb_prompt\[ \]*$" { if ![string match "" $message] then { - fail "$message" + fail "$message (unexpected output)" } set result 1 } |