This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit/testsuite] gdb.ada/mi_catch_ex.exp: Make test names unique.
- From: Joel Brobecker <brobecker at adacore dot com>
- To: gdb-patches at sourceware dot org
- Date: Tue, 8 Oct 2013 14:28:34 +0400
- Subject: [commit/testsuite] gdb.ada/mi_catch_ex.exp: Make test names unique.
- Authentication-results: sourceware.org; auth=none
Hello,
I just happen to notice a few tests in gdb.ada/mi_catch_ex.exp
that kept using the same test name. Fixed thusly.
gdb/testsuite/ChangeLog:
* gdb.ada/mi_catch_ex.exp: Make "mi_execute_to" test names unique.
Tested on x86_64-linux, checked in.
---
gdb/testsuite/ChangeLog | 4 ++++
gdb/testsuite/gdb.ada/mi_catch_ex.exp | 8 ++++----
2 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 98d4bbc..4c15ae8 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2013-10-08 Joel Brobecker <brobecker@adacore.com>
+
+ * gdb.ada/mi_catch_ex.exp: Make "mi_execute_to" test names unique.
+
2013-10-07 Tom Tromey <tromey@redhat.com>
* lib/mi-support.exp (varobj_tree::walk_tree): Set _root_idx
diff --git a/gdb/testsuite/gdb.ada/mi_catch_ex.exp b/gdb/testsuite/gdb.ada/mi_catch_ex.exp
index 1e15d47..d30d44b 100644
--- a/gdb/testsuite/gdb.ada/mi_catch_ex.exp
+++ b/gdb/testsuite/gdb.ada/mi_catch_ex.exp
@@ -80,13 +80,13 @@ mi_execute_to "exec-continue" \
"breakpoint-hit\",disp=\"keep\",bkptno=\"$any_nb\",exception-name=\"CONSTRAINT_ERROR" \
"foo" "" ".*" ".*" \
".*" \
- "continue to exception catchpoint hit"
+ "continue until CE caught by all-exceptions catchpoint"
mi_execute_to "exec-continue" \
"breakpoint-hit\",disp=\"keep\",bkptno=\"$any_nb\",exception-name=\"PROGRAM_ERROR" \
"foo" "" ".*" ".*" \
".*" \
- "continue to exception catchpoint hit"
+ "continue until PE caught by all-exceptions catchpoint"
################################################
# 2. Try catching only some of the exceptions. #
@@ -123,11 +123,11 @@ mi_execute_to "exec-continue" \
"breakpoint-hit\",disp=\"keep\",bkptno=\"$any_nb" \
"foo" "" ".*" ".*" \
".*" \
- "continue to exception catchpoint hit"
+ "continue to assert failure catchpoint hit"
mi_execute_to "exec-continue" \
"breakpoint-hit\",disp=\"keep\",bkptno=\"$any_nb\",exception-name=\"CONSTRAINT_ERROR" \
"foo" "" ".*" ".*" \
".*" \
- "continue to exception catchpoint hit"
+ "continue to unhandled exception catchpoint hit"
--
1.8.1.2