aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuis Machado <lgustavo@codesourcery.com>2016-12-01 14:46:28 -0600
committerLuis Machado <lgustavo@codesourcery.com>2016-12-01 14:46:28 -0600
commitfb9feb35913d4cf26baf01e1638b18af301f5387 (patch)
treecfb05d1d84590171efe85f05121730275b63032f
parentcd2ddb6cde55a20d191e1002dbe1977df695cda9 (diff)
downloadfsf-binutils-gdb-fb9feb35913d4cf26baf01e1638b18af301f5387.zip
fsf-binutils-gdb-fb9feb35913d4cf26baf01e1638b18af301f5387.tar.gz
fsf-binutils-gdb-fb9feb35913d4cf26baf01e1638b18af301f5387.tar.bz2
Fix test names starting with uppercase using multi-line gdb_test_multiple
This fixes offender testcases that have test names starting with uppercase when using gdb_test_multiple in a multi-line construct. gdb/testsuite/ChangeLog 2016-12-01 Luis Machado <lgustavo@codesourcery.com> * gdb.cp/gdb2495.exp: Replace gdb_test_multiple with gdb_test_no_output. Use command as test name.
-rw-r--r--gdb/testsuite/ChangeLog6
-rw-r--r--gdb/testsuite/gdb.cp/gdb2495.exp6
2 files changed, 7 insertions, 5 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 5f3d8a1..c1b04be 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,11 @@
2016-12-01 Luis Machado <lgustavo@codesourcery.com>
+ * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
+ with gdb_test_no_output.
+ Use command as test name.
+
+2016-12-01 Luis Machado <lgustavo@codesourcery.com>
+
Fix test names starting with uppercase throughout the files.
* gdb.ada/assign_1.exp
diff --git a/gdb/testsuite/gdb.cp/gdb2495.exp b/gdb/testsuite/gdb.cp/gdb2495.exp
index dff5977..b4304fb 100644
--- a/gdb/testsuite/gdb.cp/gdb2495.exp
+++ b/gdb/testsuite/gdb.cp/gdb2495.exp
@@ -94,11 +94,7 @@ gdb_test "info breakpoints" \
"gdb2495\.cc.*"
# Turn off this new behaviour.
-gdb_test_multiple "set unwind-on-terminating-exception off" \
- "Turn unwind-on-terminating-exception off" {
- -re "$gdb_prompt $" {pass "set unwinn-on-terminating-exception off"}
- timeout {fail "(timeout) set unwind-on-terminating-exception off"}
-}
+gdb_test_no_output "set unwind-on-terminating-exception off"
# Check that it is turned off.
gdb_test "show unwind-on-terminating-exception" \