mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-18 12:24:38 +08:00
* 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.
This commit is contained in:
parent
a966fde5a0
commit
851c18e0e9
@ -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.
|
||||
|
||||
|
@ -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)" }
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user