aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2002-05-07 00:45:46 +0000
committerMichael Snyder <msnyder@vmware.com>2002-05-07 00:45:46 +0000
commitf1c47eb23810315ee8b51dc0ea0bdf7b6eb3caa9 (patch)
tree5934fe490e6add8235433a869b80da1459453666 /gdb/testsuite/gdb.base
parentb491616acb5462a3694160ffef6413c160fed10a (diff)
downloadgdb-f1c47eb23810315ee8b51dc0ea0bdf7b6eb3caa9.zip
gdb-f1c47eb23810315ee8b51dc0ea0bdf7b6eb3caa9.tar.gz
gdb-f1c47eb23810315ee8b51dc0ea0bdf7b6eb3caa9.tar.bz2
2002-05-06 Michael Snyder <msnyder@redhat.com>
Enable the "needs_status_wrapper" testsuite feature. * lib/gdb.exp (gdb_wrapper_init): New procedure. (gdb_compile): Conditionally call gdb_wrapper_init. * gdb.base/a2-run.exp: Recognize output from status wrapper. * gdb.c++/method.exp: Recognize output from status wrapper.
Diffstat (limited to 'gdb/testsuite/gdb.base')
-rw-r--r--gdb/testsuite/gdb.base/a2-run.exp3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/a2-run.exp b/gdb/testsuite/gdb.base/a2-run.exp
index f822f24..fbc7044 100644
--- a/gdb/testsuite/gdb.base/a2-run.exp
+++ b/gdb/testsuite/gdb.base/a2-run.exp
@@ -80,6 +80,9 @@ if [istarget "*-*-vxworks*"] then {
-re ".*usage: factorial <number>.*Program exited with code 01.*$gdb_prompt $" {
pass "run \"$testfile\" with no args"
}
+ -re ".*usage: factorial <number>.* EXIT code 1.*Program exited normally.*$gdb_prompt $" {
+ pass "run \"$testfile\" with no args (exit wrapper)"
+ }
-re ".*$gdb_prompt $" {
fail "run \"$testfile\" with no args"
verbose "expect_out is $expect_out(buffer)" 2