diff options
author | Jim Blandy <jimb@codesourcery.com> | 2001-04-24 17:47:42 +0000 |
---|---|---|
committer | Jim Blandy <jimb@codesourcery.com> | 2001-04-24 17:47:42 +0000 |
commit | 851c18e0e958846e5b10c2254c693418f5ca3f8b (patch) | |
tree | afe803c6ec0e40b0c7fd72a3e1c99f2697684f7d /gdb/testsuite | |
parent | a966fde5a0a00f6f85788f616f2f711db9dca0c6 (diff) | |
download | gdb-851c18e0e958846e5b10c2254c693418f5ca3f8b.zip gdb-851c18e0e958846e5b10c2254c693418f5ca3f8b.tar.gz gdb-851c18e0e958846e5b10c2254c693418f5ca3f8b.tar.bz2 |
* gdb.c++/templates.exp: If we see the prompt for the overload
list, but we haven't recognized any of the longer patterns,
arrange for this test to fail, not hang.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.c++/templates.exp | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 69b29c3..0667682 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,5 +1,9 @@ 2001-04-24 Jim Blandy <jimb@redhat.com> + * gdb.c++/templates.exp: If we see the prompt for the overload + list, but we haven't recognized any of the longer patterns, + arrange for this test to fail, not hang. + * gdb.c++/classes.exp (ptype class A): Tolerate whitespace variations. diff --git a/gdb/testsuite/gdb.c++/templates.exp b/gdb/testsuite/gdb.c++/templates.exp index 37c67f3..638743e 100644 --- a/gdb/testsuite/gdb.c++/templates.exp +++ b/gdb/testsuite/gdb.c++/templates.exp @@ -114,6 +114,7 @@ proc test_template_breakpoints {} { "canceled" \ "constructor breakpoint" } + -re ".*\n> $" { fail "constructor breakpoint" } -re ".*$gdb_prompt $" { fail "constructor breakpoint" } default { fail "constructor breakpoint (timeout)" } } |