This is the mail archive of the 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: egcs-980321 on sparc-sun-solaris2.5.1 test results

Robert Lipe <> said:
> In-Reply-To: <>; 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
> catch.

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             
Departamento de Informatica                     Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria              +56 32 654239
Casilla 110-V, Valparaiso, Chile                Fax:  +56 32 797513

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