This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: How to add timeout to Ada tests
- From: Jim Wilson <wilson at specifixinc dot com>
- To: Bauke van Dijk <bauke dot vandijk at planet dot nl>
- Cc: GCC Mailing List <gcc at gcc dot gnu dot org>
- Date: Mon, 29 Mar 2004 17:21:03 -0800
- Subject: Re: How to add timeout to Ada tests
- References: <40632905.7070700@planet.nl>
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