This is the mail archive of the
mailing list for the GCC project.
Re: egcs-980321 on sparc-sun-solaris2.5.1 test results
- To: Robert Lipe <robertl at dgii dot com>
- Subject: Re: egcs-980321 on sparc-sun-solaris2.5.1 test results
- From: Horst von Brand <vonbrand at inf dot utfsm dot cl>
- Date: Thu, 26 Mar 1998 00:54:12 -0400
- cc: egcs at cygnus dot com
Robert Lipe <firstname.lastname@example.org> said:
> In-Reply-To: <199803250454.AAA03172@pincoya.inf.utfsm.cl>; from Horst von Brand
> *** on Wed, Mar 25, 1998 at 12:54:37AM -0400
> > 3 CPU minutes. Isn't there a way to limit the running time of any
> > compilation/execution to something like 10 minutes to catch infinite loops?
> Run the programs under a shell that supports limit control. Under
> Solaris, I think this means ksh. Then use the shell's internal ulimit
> to cap the max CPU time or stack or vm or anything else you need to
That's something dejagnu would have to do for each compilation/execution.
And if that is done, it's worth doing well, i.e., portably once and for
all. Not being at all familiar with expect and dejagnu, I can't even start
thinking about how to do it, but I'd expect expect to have the means for
doing exactly that on its own. Maybe it is in there, and needs to be
activated with some switch?
Dr. Horst H. von Brand mailto:email@example.com
Departamento de Informatica Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria +56 32 654239
Casilla 110-V, Valparaiso, Chile Fax: +56 32 797513