Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [RFA] gdb.base/callfuncs.exp: make all test names unique
@ 2001-05-20  5:03 Michael Elizabeth Chastain
  2001-05-21 10:52 ` Michael Snyder
  0 siblings, 1 reply; 7+ messages in thread
From: Michael Elizabeth Chastain @ 2001-05-20  5:03 UTC (permalink / raw)
  To: gdb-patches

This patch changes gdb.base/callfuncs.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/callfuncs.exp: Make all test names unique.

Index: gdb/testsuite/gdb.base/callfuncs.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/callfuncs.exp,v
retrieving revision 1.4
diff -c -3 -p -r1.4 callfuncs.exp
*** gdb/testsuite/gdb.base/callfuncs.exp	2001/03/06 08:21:50	1.4
--- gdb/testsuite/gdb.base/callfuncs.exp	2001/05/20 05:39:03
*************** if { $hp_aCC_compiler } {
*** 292,299 ****
  
  # Make sure that malloc gets called and that the floating point unit
  # is initialized via a call to t_double_values.
! gdb_test "next" "t_double_values\\(double_val1, double_val2\\);.*"
! gdb_test "next" "t_structs_c\\(struct_val1\\);.*"
  
  # Save all register contents.
  do_get_all_registers
--- 292,299 ----
  
  # Make sure that malloc gets called and that the floating point unit
  # is initialized via a call to t_double_values.
! gdb_test "next" "t_double_values\\(double_val1, double_val2\\);.*" "next 1"
! gdb_test "next" "t_structs_c\\(struct_val1\\);.*" "next 2"
  
  # Save all register contents.
  do_get_all_registers


^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: [RFA] gdb.base/callfuncs.exp: make all test names unique
@ 2001-05-21 11:12 Michael Elizabeth Chastain
  0 siblings, 0 replies; 7+ messages in thread
From: Michael Elizabeth Chastain @ 2001-05-21 11:12 UTC (permalink / raw)
  To: chastain, gdb-patches, msnyder

Okay, I'll drop callfuncs.exp from this round.

I have seven other patches.  Do you think any of them are good enough
to merge?

Michael


^ permalink raw reply	[flat|nested] 7+ messages in thread
[parent not found: <200105231816.LAA13966@bosch.cygnus.com>]
* Re: [RFA] gdb.base/callfuncs.exp: make all test names unique
@ 2001-05-23 12:15 Michael Elizabeth Chastain
  2001-05-23 15:19 ` Fernando Nasser
  0 siblings, 1 reply; 7+ messages in thread
From: Michael Elizabeth Chastain @ 2001-05-23 12:15 UTC (permalink / raw)
  To: fnasser; +Cc: gdb-patches, msnyder

Committed.

I have four more files in progress:

  arithmet.exp
  assign.exp
  ena-dis-br.exp
  logical.exp

These are much bigger changes.  These files use a lot of
send_gdb/gdb_expect calls that can be calls to gdb_test instead, which
makes the files a lot shorter.  Plus I vaguely recall that people prefer
gdb_test over send_gdb/gdb_expect because it standardizes all the error
and timeout handling.

I'm planning to put up the first one (arithmet.exp) for comments this
weekend.  Any guidance here would be appreciated.

If anyone else wants to join the fun, here are more files with duplicate
test names:

  gdb.base/maint.exp
  gdb.base/miscexprs.exp
  gdb.base/opaque.exp
  gdb.base/page.exp
  gdb.base/pointers.exp
  gdb.base/printcmds.exp
  gdb.base/radix.exp
  gdb.base/relational.exp
  gdb.base/restore.exp
  gdb.base/return2.exp
  gdb.base/scope.exp
  gdb.base/shlib-call.exp
  gdb.base/signals.exp
  gdb.c++/annota2.exp
  gdb.c++/anon-union.exp
  gdb.c++/demangle.exp
  gdb.c++/inherit.exp
  gdb.c++/ref-types.exp
  gdb.chill/chexp.exp
  gdb.fortran/types.exp
  gdb.threads/pthreads.exp
  gdb.trace/passcount.exp

Michael


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2001-05-23 15:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-20  5:03 [RFA] gdb.base/callfuncs.exp: make all test names unique Michael Elizabeth Chastain
2001-05-21 10:52 ` Michael Snyder
2001-05-23  9:40   ` Fernando Nasser
2001-05-21 11:12 Michael Elizabeth Chastain
     [not found] <200105231816.LAA13966@bosch.cygnus.com>
2001-05-23 11:20 ` Fernando Nasser
2001-05-23 12:15 Michael Elizabeth Chastain
2001-05-23 15:19 ` Fernando Nasser

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox