This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH] Fix mi-pending.exp test output to allow stable test diffing
- From: Antoine Tremblay <antoine dot tremblay at ericsson dot com>
- To: <gdb-patches at sourceware dot org>, <palves at redhat dot com>
- Cc: Antoine Tremblay <antoine dot tremblay at ericsson dot com>
- Date: Tue, 24 Mar 2015 13:32:48 -0400
- Subject: [PATCH] Fix mi-pending.exp test output to allow stable test diffing
- Authentication-results: sourceware.org; auth=none
- References: <55119A52 dot 10301 at redhat dot com>
/* Not part of the commit comment
This gives the following output :
PASS: gdb.mi/mi-pending.exp: MI pending breakpoint on mi-pendshr.c:pendfunc2 if x==4
*/
gdb/testsuite/ChangeLog:
* gdb.mi/mi-pending.exp: Fix output of breakpoint test.
---
gdb/testsuite/gdb.mi/mi-pending.exp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gdb/testsuite/gdb.mi/mi-pending.exp b/gdb/testsuite/gdb.mi/mi-pending.exp
index e289cd9..88c6870 100644
--- a/gdb/testsuite/gdb.mi/mi-pending.exp
+++ b/gdb/testsuite/gdb.mi/mi-pending.exp
@@ -66,7 +66,7 @@ mi_gdb_test "-break-insert -f pendfunc1" \
# Set pending breakpoint with a condition via MI.
mi_gdb_test "-break-insert -f -c x==4 ${libsrc1}:pendfunc2" \
".*\\^done,bkpt=\{number=\"2\",type=\"breakpoint\",disp=\"keep\",enabled=\"y\",addr=\"<PENDING>\",pending=\"${libsrc1}:pendfunc2\",cond=\"x==4\",times=\"0\",original-location=\"${libsrc1}:pendfunc2\"\}"\
- "MI pending breakpoint on ${libsrc1}:pendfunc2 if x==4"
+ "MI pending breakpoint on ${libfile1}.c:pendfunc2 if x==4"
# Set breakpoint so that we can stop when the thread is created
mi_gdb_test "-break-insert -f thread_func" \
--
1.9.1