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 on Linux/ia64?


> 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".

Thanks for the hint, that's an interesting likely candidate for some
'random' c9 failure indeed.

I guess Laurent Guerby was a little bit too optimistic when he changed the
value of this constant :-)

> --- 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;

Change looks good to me, I'd probably consider integrating it.

Laurent, could you give some figures on the time impact of such a
change ? Maybe 0.01 would be a sufficient compromise ?

Arno


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