This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch/testsuite] funcargs.exp: delete special timeout for hppa*-hp-hpux*


This is an obvious fix for running the test suite on hppa*-hp-hpux*.

funcargs.exp has a special large timeout for mips*tx39-* (300 seconds)
and hppa*-hp-hpux* (240 seconds).  These timeouts are not scoped.
Some test scripts save and restore the previous value, but this one
doesn't.  So other test scripts, particularly gdb1056.exp, get to enjoy
the extra-long 240 second timeout.

funcargs.exp takes 3 seconds to run on my hp-ux machine, so I think the
normal timeout of 60 seconds is fine.

I tested this on native hppa2.0w-hp-hpux11.11 with hp acc and ansic.

I am committing this now as an obvious fix.

Michael C

2004-01-05  Michael Chastain  <mec.gnu@mindspring.com>

	* gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
	hppa*-hp-hpux*.

Index: funcargs.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/funcargs.exp,v
retrieving revision 1.6
diff -c -3 -p -r1.6 funcargs.exp
*** funcargs.exp	15 Feb 2003 18:32:45 -0000	1.6
--- funcargs.exp	5 Jan 2004 11:30:21 -0000
***************
*** 1,5 ****
! # Copyright 1992, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2002, 2003
! # 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,5 ----
! # Copyright 1992, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2002, 2003,
! # 2004 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_load ${binfile}
*** 1183,1190 ****
  
  if [istarget "mips*tx39-*"] {
      set timeout 300
- } elseif [istarget "hppa*-hp-hpux*"] then {
-     set timeout 240
  } else {
      set timeout 60
  }
--- 1183,1188 ----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]