This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [ada/testsuite] Add timeout for ada tests
- From: Florian Weimer <fw at deneb dot enyo dot de>
- To: ja2morri at csclub dot uwaterloo dot ca (James Morrison)
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 14 Nov 2005 09:41:06 +0100
- Subject: Re: [ada/testsuite] Add timeout for ada tests
- References: <20051114075159.BFC91A857D@perpugilliam.csclub.uwaterloo.ca>
* James Morrison:
> + (sleep $timeout && kill 2>/dev/null \$\$) &
Wouldn't it be better to use SIGKILL instead of SIGTERM? Especially
with tasking, I noticed that SIGTERM does not reliably terminate
processes. (SIGTERM might be more portable, though.)