[RFA] gdb.base/dbx.exp: make all test names unique
Michael Elizabeth Chastain
chastain@cygnus.com
Sun May 20 05:04:00 GMT 2001
This patch changes gdb.base/dbx.exp to make all test names unique.
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/dbx.exp: Make all test names unique.
Index: gdb/testsuite/gdb.base/dbx.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/dbx.exp,v
retrieving revision 1.2
diff -c -3 -p -r1.2 dbx.exp
*** gdb/testsuite/gdb.base/dbx.exp 2001/03/06 08:21:50 1.2
--- gdb/testsuite/gdb.base/dbx.exp 2001/05/20 06:35:06
***************
*** 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
*************** proc test_whereis { } {
*** 306,318 ****
#test_func
#
proc test_func { } {
! gdb_test "cont" ""
gdb_test "step" ""
# This always fails, but it's not clear why. -sts 1999-08-17
setup_xfail "*-*-*"
gdb_test "func sum" "'sum' not within current stack frame\."
gdb_test "stop in sum" "Breakpoint.*at.*: file.*sum\.c, line 11\."
! gdb_test "cont"
# This always fails, but it's not clear why. -sts 1999-08-17
setup_xfail "*-*-*"
gdb_test "func print_average" ".*in print_average.*\\(list=.*, low=0, high=6\\).*at.*average\.c:24\r\n24\[ \t\]+total = sum\\(list, low, high\\);"
--- 306,318 ----
#test_func
#
proc test_func { } {
! gdb_test "cont" "" "cont 1"
gdb_test "step" ""
# This always fails, but it's not clear why. -sts 1999-08-17
setup_xfail "*-*-*"
gdb_test "func sum" "'sum' not within current stack frame\."
gdb_test "stop in sum" "Breakpoint.*at.*: file.*sum\.c, line 11\."
! gdb_test "cont" "" "cont 2"
# This always fails, but it's not clear why. -sts 1999-08-17
setup_xfail "*-*-*"
gdb_test "func print_average" ".*in print_average.*\\(list=.*, low=0, high=6\\).*at.*average\.c:24\r\n24\[ \t\]+total = sum\\(list, low, high\\);"
More information about the Gdb-patches
mailing list