This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[RFA] gdb.base/define.exp: make all test names unique
- To: gdb-patches at sources dot redhat dot com
- Subject: [RFA] gdb.base/define.exp: make all test names unique
- From: Michael Elizabeth Chastain <chastain at cygnus dot com>
- Date: Sun, 20 May 2001 05:10:52 -0700
This patch changes gdb.base/define.exp to make all test names unique.
I also made some FAIL and TIMEOUT messages conform to their corresponding
PASS messages.
Testing: I tested this on native Red Hat Linux 7 and native Solaris 2.8.
OK to apply?
Michael
===
2001-05-19 Michael Chastain <chastain@redhat.com>
* gdb.base/define.exp: Make all test names unique. Conform some FAIL
and TIMEOUT messages to their corresponding PASS message.
Index: gdb/testsuite/gdb.base/define.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/define.exp,v
retrieving revision 1.2
diff -c -3 -p -r1.2 define.exp
*** gdb/testsuite/gdb.base/define.exp 2001/03/06 08:21:50 1.2
--- gdb/testsuite/gdb.base/define.exp 2001/05/20 07:17:09
***************
*** 1,4 ****
! # Copyright 1998, 1999 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
--- 1,4 ----
! # Copyright 1998, 1999, 2001 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
*************** gdb_expect {
*** 160,167 ****
}
}
-re "$gdb_prompt $"\
! {fail "documenting user command: nextwhere"}
! timeout {fail "(timeout) documenting user command: nextwhere"}
}
send_gdb "document nextwhere\n"
--- 160,167 ----
}
}
-re "$gdb_prompt $"\
! {fail "document user command: nextwhere"}
! timeout {fail "(timeout) document user command: nextwhere"}
}
send_gdb "document nextwhere\n"
*************** gdb_expect {
*** 170,182 ****
{send_gdb "A next command that first shows you where you're stepping from.\nend\n"
gdb_expect {
-re "$gdb_prompt $"\
! {pass "document user command: nextwhere"}
! timeout {fail "(timeout) document user command: nextwhere"}
}
}
-re "$gdb_prompt $"\
! {fail "documenting user command: nextwhere"}
! timeout {fail "(timeout) documenting user command: nextwhere"}
}
send_gdb "help nextwhere\n"
--- 170,182 ----
{send_gdb "A next command that first shows you where you're stepping from.\nend\n"
gdb_expect {
-re "$gdb_prompt $"\
! {pass "re-document user command: nextwhere"}
! timeout {fail "(timeout) re-document user command: nextwhere"}
}
}
-re "$gdb_prompt $"\
! {fail "re-document user command: nextwhere"}
! timeout {fail "(timeout) re-document user command: nextwhere"}
}
send_gdb "help nextwhere\n"