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]
Other format: [Raw text]

Re: How to add timeout to Ada tests


Bauke van Dijk wrote:
Any idea's how to fix this ?

The Ada testsuite unfortunately does not support timeouts. Writing a dejagnu framework for the Ada testsuite would solve this, but would be a bit of work. I think this is the best solution.


Since the Ada testsuite is mostly shell scripts, it might be possible to fix this by using shell limits, for instance the bash ulimit -t command. This isn't a perfect solution though, since ulimit -t limits cpu time, and we really need something that limits clock time, in case there is a deadlock.
--
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com



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