forked from Imagelibrary/binutils-gdb
* 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:
@@ -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)" }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user