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 on Linux/ia64?
- From: Chris Proctor <chrisp_42 at bigpond dot com>
- To: <gcc at gcc dot gnu dot org>
- Date: Thu, 25 Mar 2004 19:02:54 +1100
- Subject: Re: How to add timeout to Ada tests on Linux/ia64?
- References: <20040324225404.GA12176@lucon.org>
On Wed, Mar 24, 2004 at 02:54:04PM -0800, H. J. Lu wrote:
> Some Ada tests in gcc 3.4 keep hanging for me on Linux/ia64. I have to
> kill them by hand. How do I add timeout in Ada tests?
The following change worked for me to stop some of the
tasking tests failing or hanging:
The One_Second constant is multiplied by all the delays
in the tasking tests. I found on a loaded system the
supplied constant caused problems, I have had none since changing.
The tests still run 10x "realtime".
--
Chris Proctor
--- gcc/testsuite/ada/acats/support/impdef.a 27 Oct 2003 11:28:49 -0000 1.1
+++ gcc/testsuite/ada/acats/support/impdef.a 25 Mar 2004 07:59:10 -0000
@@ -338,7 +338,7 @@
--=====-=====-=====-=====-=====-=====-=====-=====-=====-=====-=====-=====--
- One_Second : constant Duration := 0.001;
+ One_Second : constant Duration := 0.1;
end ImpDef;