This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

Re: How can I shorten time out during "make check"?


Hi Kazu,

: I am doing "make check" for the h8300 port using its simulator.  Is
: there any way I can change the time out used during
: gcc.c-torture/execute?  RIght now, it's taking too long.  "make check"
: literally takes days! :-)
: 
: I looked at dejagnu/libs/remote.exp and found standard_wait being
: used, but I have not idea which function calls that.

Check your site.exp file (pointed to by the DEJAGNU environment
variable).  Look for the h8300 entry and discover the name of the
simulator being used.  In my case this is "h8300-sim".

Then go to the dejagnu/baseboards directory and find the file of the
same name, ie dejagnu/baseboards/h8300-sim.exp in my case.  Search
this file for the declaration of a variable called 'timeout' in the
gcc domain.  If it does not exist, then the default timeout (of 300,
set in proc remote_exec in dejagnu/lib/remote.exp) will be used.  To
change the timeout, add or edit the line: 

  set_board_info gcc,timeout <SOME NUMBER HERE>

The value is supposed to be in units of tenths of a second.

Cheers
	Nick

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